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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 215.4 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1974/0.1974, allocations: 44.24 MB / 331 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 63.91 kB / 468.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1122, allocations: 61.05 MB / 0.5174 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001671/0.1139, allocations: 0.5445 MB / 0.5179 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007326/0.1146, allocations: 374.7 kB / 0.5183 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.1146, allocations: 0 / 0.5183 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.1147, allocations: 3.938 kB / 0.5183 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.407e-05/0.1147, allocations: 3.938 kB / 0.5183 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.1151, allocations: 111.6 kB / 0.5184 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.693e-05/0.1152, allocations: 27.86 kB / 0.5184 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.1152, allocations: 3.984 kB / 0.5184 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.272e-05/0.1152, allocations: 15.94 kB / 0.5184 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.1153, allocations: 23.91 kB / 0.5184 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.1153, allocations: 0 / 0.5184 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.1155, allocations: 111.9 kB / 0.5185 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.1155, allocations: 3.984 kB / 0.5185 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.1156, allocations: 19.86 kB / 0.5186 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1157, allocations: 95.69 kB / 0.5187 GB, free: 5.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1157, allocations: 0 / 0.5187 GB, free: 5.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1158, allocations: 0 / 0.5187 GB, free: 5.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.1158, allocations: 0 / 0.5187 GB, free: 5.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004294/0.1162, allocations: 301.9 kB / 0.5189 GB, free: 5.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1162, allocations: 12.03 kB / 0.519 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.1162, allocations: 0.9375 kB / 0.519 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1164, allocations: 114.5 kB / 0.5191 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1164, allocations: 8.297 kB / 0.5191 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.1164, allocations: 8.375 kB / 0.5191 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1165, allocations: 52.02 kB / 0.5191 GB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1165, allocations: 4.188 kB / 0.5191 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1166, allocations: 11.88 kB / 0.5192 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1166, allocations: 0 / 0.5192 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.101e-05/0.1166, allocations: 27.98 kB / 0.5192 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.1168, allocations: 140.7 kB / 0.5193 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.117, allocations: 50.84 kB / 0.5194 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.573e-05/0.117, allocations: 28.78 kB / 0.5194 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/0.1172, allocations: 31.95 kB / 0.5194 GB, free: 4.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1173, allocations: 38.56 kB / 0.5195 GB, free: 4.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.1173, allocations: 0 / 0.5195 GB, free: 4.562 MB / 398.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.03809/0.1553, allocations: 2.58 MB / 0.522 GB, free: 1.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.1554, allocations: 51.41 kB / 0.522 GB, free: 1.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.1555, allocations: 109.8 kB / 0.5221 GB, free: 1.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.1555, allocations: 25.7 kB / 0.5222 GB, free: 1.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.1556, allocations: 88.08 kB / 0.5222 GB, free: 1.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.681e-05/0.1556, allocations: 63.44 kB / 0.5223 GB, free: 1.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.1558, allocations: 57.69 kB / 0.5224 GB, free: 1.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1559, allocations: 326.8 kB / 0.5227 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.1563, allocations: 171.9 kB / 0.5228 GB, free: 1.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.1567, allocations: 183.3 kB / 0.523 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009649/0.1576, allocations: 408.7 kB / 0.5234 GB, free: 456 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1576, allocations: 3.938 kB / 0.5234 GB, free: 452 kB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001016/0.1587, allocations: 465.4 kB / 0.5238 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1587, allocations: 8 kB / 0.5238 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1587, allocations: 0 / 0.5238 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1587, allocations: 480 / 0.5238 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.1591, allocations: 67.94 kB / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1591, allocations: 0 / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.1593, allocations: 27.91 kB / 0.5239 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.1593, allocations: 19.98 kB / 0.524 GB, free: 15.86 MB / 414.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.0001281/0.1594, allocations: 125.7 kB / 0.5241 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.1595, allocations: 7.953 kB / 0.5241 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.1607, allocations: 0.5402 MB / 0.5246 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1607, allocations: 4 kB / 0.5246 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1608, allocations: 0 / 0.5246 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1608, allocations: 3.984 kB / 0.5246 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.1629, allocations: 0.8416 MB / 0.5254 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1629, allocations: 4 kB / 0.5254 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.1631, allocations: 67.88 kB / 0.5255 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.1631, allocations: 4 kB / 0.5255 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.1632, allocations: 15.98 kB / 0.5255 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1632, allocations: 0 / 0.5255 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.1632, allocations: 4 kB / 0.5255 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008825/0.1641, allocations: 476.3 kB / 0.526 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.1641, allocations: 7.953 kB / 0.526 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.1641, allocations: 4.25 kB / 0.526 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.1643, allocations: 31.91 kB / 0.526 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.1644, allocations: 7.984 kB / 0.526 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.1644, allocations: 27.98 kB / 0.5261 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.392e-05/0.1644, allocations: 79.28 kB / 0.5261 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1644, allocations: 0 / 0.5261 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000838/0.1653, allocations: 319.6 kB / 0.5264 GB, free: 13.19 MB / 414.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.001185/0.1665, allocations: 238.7 kB / 0.5267 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007768/0.1672, allocations: 331.7 kB / 0.527 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1672, allocations: 0 / 0.527 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.1676, allocations: 135.8 kB / 0.5271 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.1678, allocations: 28.11 kB / 0.5271 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1691, allocations: 432.4 kB / 0.5276 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1694, allocations: 0.6926 MB / 0.5282 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.1696, allocations: 47.41 kB / 0.5283 GB, free: 11.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1696, allocations: 0 / 0.5283 GB, free: 11.23 MB / 414.1 MB Notification: Performance of Templates: time 0.01038/0.18, allocations: 6.556 MB / 0.5347 GB, free: 4.656 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.806165327085182]