Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 113.4 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 180.1 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1949/0.1949, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 64.12 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3612, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001514/0.3628, allocations: 0.5461 MB / 0.5194 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006464/0.3635, allocations: 406.7 kB / 0.5198 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.3635, allocations: 0 / 0.5198 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.3635, allocations: 3.938 kB / 0.5198 GB, free: 3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.954e-05/0.3636, allocations: 1.281 kB / 0.5198 GB, free: 3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.364, allocations: 142.8 kB / 0.5199 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.69e-05/0.3641, allocations: 20.11 kB / 0.52 GB, free: 2.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.3641, allocations: 12.67 kB / 0.52 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.238e-05/0.3642, allocations: 6.531 kB / 0.52 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.3642, allocations: 20.59 kB / 0.52 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.3643, allocations: 2.281 kB / 0.52 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.3645, allocations: 164.8 kB / 0.5202 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.3645, allocations: 2.516 kB / 0.5202 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.3646, allocations: 21.72 kB / 0.5202 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.3648, allocations: 129.2 kB / 0.5203 GB, free: 2.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3648, allocations: 1.188 kB / 0.5203 GB, free: 2.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3648, allocations: 0 / 0.5203 GB, free: 2.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.3648, allocations: 0 / 0.5203 GB, free: 2.805 MB / 382.1 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.0003354/0.3652, allocations: 358.8 kB / 0.5207 GB, free: 2.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3652, allocations: 9.375 kB / 0.5207 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.3653, allocations: 4.203 kB / 0.5207 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.621e-05/0.3653, allocations: 172.2 kB / 0.5208 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3654, allocations: 11.64 kB / 0.5208 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.3654, allocations: 3 kB / 0.5208 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.3655, allocations: 57 kB / 0.5209 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3655, allocations: 5.812 kB / 0.5209 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3655, allocations: 0 / 0.5209 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3656, allocations: 5.031 kB / 0.5209 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.265e-05/0.3656, allocations: 33.8 kB / 0.5209 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.3658, allocations: 168.7 kB / 0.5211 GB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.3659, allocations: 59.44 kB / 0.5212 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.366, allocations: 24.52 kB / 0.5212 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/0.3662, allocations: 111.9 kB / 0.5213 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.3663, allocations: 36.73 kB / 0.5213 GB, free: 1.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.495e-06/0.3663, allocations: 0 / 0.5213 GB, free: 1.77 MB / 382.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1377/0.504, allocations: 6.37 MB / 0.5275 GB, free: 14.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.5041, allocations: 62.3 kB / 0.5276 GB, free: 14.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.144e-05/0.5041, allocations: 103.8 kB / 0.5277 GB, free: 14.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.5042, allocations: 27.08 kB / 0.5277 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.5042, allocations: 84.14 kB / 0.5278 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.5044, allocations: 63.06 kB / 0.5279 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.5045, allocations: 84.34 kB / 0.528 GB, free: 14.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5046, allocations: 325 kB / 0.5283 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/0.5052, allocations: 229.6 kB / 0.5285 GB, free: 14.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.5057, allocations: 226.3 kB / 0.5287 GB, free: 13.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/0.5077, allocations: 0.5597 MB / 0.5292 GB, free: 13.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5077, allocations: 0 / 0.5292 GB, free: 13.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001727/0.5094, allocations: 0.6193 MB / 0.5298 GB, free: 13.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5095, allocations: 6.031 kB / 0.5299 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5095, allocations: 0 / 0.5299 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5095, allocations: 1.281 kB / 0.5299 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.5101, allocations: 103.8 kB / 0.53 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5101, allocations: 1.219 kB / 0.53 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.5106, allocations: 31.92 kB / 0.53 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.5106, allocations: 28.39 kB / 0.53 GB, free: 13.19 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.5108, allocations: 129.1 kB / 0.5301 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.5109, allocations: 12.41 kB / 0.5301 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.5129, allocations: 0.7281 MB / 0.5309 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.5129, allocations: 2.188 kB / 0.5309 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5129, allocations: 0 / 0.5309 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5129, allocations: 0 / 0.5309 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/0.5168, allocations: 1.174 MB / 0.532 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5168, allocations: 1.969 kB / 0.532 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005189/0.5173, allocations: 97.88 kB / 0.5321 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.5173, allocations: 2.188 kB / 0.5321 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.5174, allocations: 25.83 kB / 0.5321 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.5174, allocations: 3.156 kB / 0.5321 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5174, allocations: 9.031 kB / 0.5321 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.519, allocations: 0.5853 MB / 0.5327 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.5191, allocations: 84.36 kB / 0.5328 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.5191, allocations: 3.312 kB / 0.5328 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.5196, allocations: 29.14 kB / 0.5328 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.5196, allocations: 15.86 kB / 0.5328 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.5197, allocations: 35.58 kB / 0.5329 GB, free: 11.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.091e-05/0.5197, allocations: 83.66 kB / 0.533 GB, free: 11.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5197, allocations: 0 / 0.533 GB, free: 11.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001967/0.5217, allocations: 0.6514 MB / 0.5336 GB, free: 11.04 MB / 398.1 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 () * Number of clocked 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 (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.003047/0.5247, allocations: 293.2 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.5259, allocations: 447.8 kB / 0.5343 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.5259, allocations: 0 / 0.5343 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004796/0.5264, allocations: 208.6 kB / 0.5345 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.5266, allocations: 9.25 kB / 0.5345 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.5289, allocations: 0.5332 MB / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.5291, allocations: 0.6945 MB / 0.5357 GB, free: 9.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004151/0.5295, allocations: 127.4 kB / 0.5358 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.5298, allocations: 91.78 kB / 0.5359 GB, free: 9.344 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.5298, allocations: 1.094 kB / 0.5359 GB, free: 9.344 MB / 398.1 MB Notification: Performance of Templates: time 0.06923/0.5991, allocations: 57.59 MB / 0.5921 GB, free: 0.5391 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches