Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001469/0.001469, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001787/0.001787, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001438, allocations: 79.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.364, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.002242/0.3663, allocations: 0.5014 MB / 0.531 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003652/0.3667, allocations: 94.25 kB / 0.5311 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.3667, allocations: 0 / 0.5311 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.3668, allocations: 3.938 kB / 0.5311 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.559e-05/0.3668, allocations: 0 / 0.5311 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.367, allocations: 12.33 kB / 0.5311 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.927e-05/0.3671, allocations: 14.36 kB / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.05e-05/0.3672, allocations: 9.641 kB / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.571e-05/0.3672, allocations: 11.06 kB / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.3673, allocations: 13.45 kB / 0.5311 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3673, allocations: 1.031 kB / 0.5311 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3675, allocations: 27.25 kB / 0.5312 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.3675, allocations: 5.281 kB / 0.5312 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.3675, allocations: 5.25 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.3677, allocations: 33.17 kB / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3677, allocations: 0 / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3677, allocations: 0 / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3677, allocations: 0 / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005444/0.3683, allocations: 329.2 kB / 0.5315 GB, free: 12.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.3683, allocations: 10.06 kB / 0.5315 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.365e-05/0.3684, allocations: 32 kB / 0.5316 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.3685, allocations: 6.266 kB / 0.5316 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.3686, allocations: 166.5 kB / 0.5317 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3687, allocations: 6 kB / 0.5317 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.3687, allocations: 2.469 kB / 0.5317 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3688, allocations: 58.59 kB / 0.5318 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3689, allocations: 10.08 kB / 0.5318 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3689, allocations: 0 / 0.5318 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3689, allocations: 0 / 0.5318 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.382e-05/0.369, allocations: 13.53 kB / 0.5318 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.3694, allocations: 319 kB / 0.5321 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.194e-05/0.3695, allocations: 30.33 kB / 0.5321 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.3695, allocations: 15.36 kB / 0.5322 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3696, allocations: 5.672 kB / 0.5322 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.3696, allocations: 30.56 kB / 0.5322 GB, free: 11.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.3696, allocations: 0 / 0.5322 GB, free: 11.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002291/0.3698, allocations: 55.59 kB / 0.5322 GB, free: 11.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.3699, allocations: 55.34 kB / 0.5323 GB, free: 11.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.37, allocations: 97.02 kB / 0.5324 GB, free: 11.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.37, allocations: 25.7 kB / 0.5324 GB, free: 11.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.3701, allocations: 88.05 kB / 0.5325 GB, free: 11.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.3701, allocations: 14.52 kB / 0.5325 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.3701, allocations: 20 kB / 0.5325 GB, free: 11.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3703, allocations: 314.8 kB / 0.5328 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.477e-05/0.3703, allocations: 6.781 kB / 0.5328 GB, free: 11.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.009e-05/0.3703, allocations: 23.08 kB / 0.5329 GB, free: 11.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.557e-05/0.3704, allocations: 34.88 kB / 0.5329 GB, free: 11.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3704, allocations: 3.938 kB / 0.5329 GB, free: 11.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000107/0.3705, allocations: 55.72 kB / 0.5329 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3705, allocations: 7.031 kB / 0.533 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3705, allocations: 0 / 0.533 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3706, allocations: 4.062 kB / 0.533 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.3706, allocations: 15.55 kB / 0.533 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3707, allocations: 0 / 0.533 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.3707, allocations: 11.19 kB / 0.533 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.3707, allocations: 3.938 kB / 0.533 GB, free: 10.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.489e-05/0.3708, allocations: 117.2 kB / 0.5331 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.3708, allocations: 0 / 0.5331 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.371, allocations: 60.75 kB / 0.5332 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.371, allocations: 0 / 0.5332 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.371, allocations: 0 / 0.5332 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.371, allocations: 0 / 0.5332 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.3712, allocations: 160.7 kB / 0.5333 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3712, allocations: 4 kB / 0.5333 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.3713, allocations: 10.89 kB / 0.5333 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3713, allocations: 3.938 kB / 0.5333 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3713, allocations: 0 / 0.5333 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3713, allocations: 0 / 0.5333 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3713, allocations: 3.312 kB / 0.5333 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.3714, allocations: 154.3 kB / 0.5335 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.3715, allocations: 78.84 kB / 0.5336 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.3715, allocations: 4.719 kB / 0.5336 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.3716, allocations: 0 / 0.5336 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.3716, allocations: 10.59 kB / 0.5336 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3716, allocations: 1.281 kB / 0.5336 GB, free: 10.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.971e-05/0.3717, allocations: 80.75 kB / 0.5336 GB, free: 10.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3717, allocations: 0 / 0.5336 GB, free: 10.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.3719, allocations: 5.375 kB / 0.5336 GB, free: 10.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00047/0.3724, allocations: 0.6952 MB / 0.5343 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.3725, allocations: 22.45 kB / 0.5343 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3725, allocations: 1.281 kB / 0.5344 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.3725, allocations: 16.44 kB / 0.5344 GB, free: 9.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.3727, allocations: 4.484 kB / 0.5344 GB, free: 9.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.3731, allocations: 142.5 kB / 0.5345 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.3734, allocations: 0.6784 MB / 0.5352 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.54e-05/0.3735, allocations: 6.328 kB / 0.5352 GB, free: 8.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.3735, allocations: 13.81 kB / 0.5352 GB, free: 8.648 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3735, allocations: 0 / 0.5352 GB, free: 8.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.3907, allocations: 1.305 MB / 0.5365 GB, free: 7.922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.321/7.712, allocations: 13.09 kB / 0.5365 GB, free: 7.914 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches