Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000976/0.0009758, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.2 MB / 218.9 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008044/0.0008044, allocations: 84.58 kB / 267 MB, free: 9.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.306/0.306, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.344e-05, allocations: 4 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09611/0.09615, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3179/0.4141, allocations: 84.27 MB / 0.5551 GB, free: 18.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.4143, allocations: 63.84 kB / 0.5552 GB, free: 18.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004531/0.4188, allocations: 1.777 MB / 0.5569 GB, free: 17.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4189, allocations: 0 / 0.5569 GB, free: 17.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.4189, allocations: 0 / 0.5569 GB, free: 17.75 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002254/0.4191, allocations: 355.4 kB / 0.5572 GB, free: 17.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4192, allocations: 12.03 kB / 0.5572 GB, free: 17.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.4192, allocations: 10.05 kB / 0.5573 GB, free: 17.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.324e-05/0.4193, allocations: 163.1 kB / 0.5574 GB, free: 17.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.4193, allocations: 6.984 kB / 0.5574 GB, free: 17.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.4193, allocations: 11.44 kB / 0.5574 GB, free: 17.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.4195, allocations: 47.42 kB / 0.5575 GB, free: 17.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4195, allocations: 7.875 kB / 0.5575 GB, free: 17.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4195, allocations: 3.984 kB / 0.5575 GB, free: 17.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4195, allocations: 0 / 0.5575 GB, free: 17.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.684e-05/0.4196, allocations: 22.59 kB / 0.5575 GB, free: 17.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.4198, allocations: 178.8 kB / 0.5577 GB, free: 16.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.42, allocations: 57.89 kB / 0.5577 GB, free: 16.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.052e-05/0.42, allocations: 24.61 kB / 0.5578 GB, free: 16.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.4202, allocations: 111.9 kB / 0.5579 GB, free: 16.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.4202, allocations: 30.56 kB / 0.5579 GB, free: 16.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.4202, allocations: 4 kB / 0.5579 GB, free: 16.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.03564/0.4559, allocations: 2.057 MB / 0.5599 GB, free: 15.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.456, allocations: 62.28 kB / 0.56 GB, free: 15.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.456, allocations: 92.45 kB / 0.5601 GB, free: 15.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.4561, allocations: 29.39 kB / 0.5601 GB, free: 15.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.238e-05/0.4561, allocations: 85.64 kB / 0.5602 GB, free: 14.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.4561, allocations: 62.91 kB / 0.5602 GB, free: 14.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.4562, allocations: 4 kB / 0.5602 GB, free: 14.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.4562, allocations: 327.1 kB / 0.5605 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.4564, allocations: 142.4 kB / 0.5607 GB, free: 14.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.4566, allocations: 142.8 kB / 0.5608 GB, free: 14.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.4569, allocations: 162.8 kB / 0.561 GB, free: 14.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4569, allocations: 0 / 0.561 GB, free: 14.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005794/0.4575, allocations: 397.5 kB / 0.5613 GB, free: 14.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4575, allocations: 4 kB / 0.5614 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4575, allocations: 0 / 0.5614 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4576, allocations: 4 kB / 0.5614 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.4579, allocations: 75.84 kB / 0.5614 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4579, allocations: 9.641 kB / 0.5614 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.4581, allocations: 23.92 kB / 0.5615 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.4581, allocations: 16.36 kB / 0.5615 GB, free: 14.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.099e-05/0.4582, allocations: 119.8 kB / 0.5616 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.4583, allocations: 11.03 kB / 0.5616 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008242/0.4591, allocations: 479.2 kB / 0.5621 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.4591, allocations: 5.453 kB / 0.5621 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4591, allocations: 0 / 0.5621 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4591, allocations: 0 / 0.5621 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.4608, allocations: 0.8495 MB / 0.5629 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4608, allocations: 4.656 kB / 0.5629 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.461, allocations: 74.53 kB / 0.563 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.4611, allocations: 4 kB / 0.563 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.4611, allocations: 18.92 kB / 0.563 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4611, allocations: 3.938 kB / 0.563 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4611, allocations: 8.578 kB / 0.563 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.4616, allocations: 459.8 kB / 0.5634 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.4616, allocations: 88.2 kB / 0.5635 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.4617, allocations: 9.219 kB / 0.5635 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.4619, allocations: 32.47 kB / 0.5636 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.4619, allocations: 15.59 kB / 0.5636 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.4619, allocations: 14.72 kB / 0.5636 GB, free: 12.28 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.028e-05/0.462, allocations: 88.12 kB / 0.5637 GB, free: 12.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.462, allocations: 0 / 0.5637 GB, free: 12.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008321/0.4628, allocations: 340.2 kB / 0.564 GB, free: 11.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/0.464, allocations: 270.7 kB / 0.5643 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003764/0.4643, allocations: 278.8 kB / 0.5645 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4643, allocations: 0 / 0.5645 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.4645, allocations: 120.8 kB / 0.5646 GB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.4647, allocations: 7.938 kB / 0.5646 GB, free: 11.37 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.4656, allocations: 363.3 kB / 0.565 GB, free: 11.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.4657, allocations: 0.7002 MB / 0.5657 GB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000324/0.466, allocations: 96.56 kB / 0.5658 GB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.4662, allocations: 51.42 kB / 0.5658 GB, free: 10.2 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4662, allocations: 0 / 0.5658 GB, free: 10.2 MB / 394.7 MB Notification: Performance of Templates: time 0.008758/0.475, allocations: 7.598 MB / 0.5732 GB, free: 3.629 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches