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.001785/0.001785, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.002129/0.002129, allocations: 203.5 kB / 23.74 MB, free: 4.543 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.489/1.489, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.2184/0.2184, allocations: 44.26 MB / 331.1 MB, free: 9.309 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.002621/0.002621, allocations: 67.91 kB / 468.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1186, allocations: 61.04 MB / 0.5174 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.00204/0.1206, allocations: 0.526 MB / 0.5179 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008478/0.1215, allocations: 346.7 kB / 0.5182 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.1215, allocations: 0 / 0.5182 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.1215, allocations: 3.938 kB / 0.5182 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.173e-05/0.1216, allocations: 0 / 0.5182 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.1221, allocations: 115.6 kB / 0.5183 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.684e-05/0.1222, allocations: 23.92 kB / 0.5184 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.1222, allocations: 0 / 0.5184 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.1222, allocations: 15.94 kB / 0.5184 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.1223, allocations: 19.91 kB / 0.5184 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1223, allocations: 0 / 0.5184 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.1226, allocations: 111.9 kB / 0.5185 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.1226, allocations: 3.938 kB / 0.5185 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.1226, allocations: 19.91 kB / 0.5185 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.1229, allocations: 95.69 kB / 0.5186 GB, free: 5.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1229, allocations: 0 / 0.5186 GB, free: 5.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1229, allocations: 0 / 0.5186 GB, free: 5.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1229, allocations: 4 kB / 0.5186 GB, free: 5.414 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.0005083/0.1234, allocations: 286 kB / 0.5189 GB, free: 5.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1234, allocations: 16.03 kB / 0.5189 GB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.1235, allocations: 4.875 kB / 0.5189 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1236, allocations: 122.4 kB / 0.519 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1236, allocations: 12.31 kB / 0.519 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.1237, allocations: 384 / 0.519 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1238, allocations: 58.23 kB / 0.5191 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1238, allocations: 192 / 0.5191 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1238, allocations: 3.938 kB / 0.5191 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1238, allocations: 0 / 0.5191 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.625e-05/0.1239, allocations: 31.92 kB / 0.5191 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.1241, allocations: 119.1 kB / 0.5192 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1243, allocations: 46.56 kB / 0.5193 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.1244, allocations: 24.84 kB / 0.5193 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.1246, allocations: 27.97 kB / 0.5193 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.1246, allocations: 34.84 kB / 0.5194 GB, free: 4.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.1246, allocations: 3.938 kB / 0.5194 GB, free: 4.527 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.04247/0.1671, allocations: 2.584 MB / 0.5219 GB, free: 1.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.1672, allocations: 55.41 kB / 0.5219 GB, free: 1.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.1673, allocations: 97.86 kB / 0.522 GB, free: 1.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.1673, allocations: 29.64 kB / 0.5221 GB, free: 1.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.1674, allocations: 92.14 kB / 0.5222 GB, free: 1.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.1675, allocations: 71.41 kB / 0.5222 GB, free: 1.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.1676, allocations: 53.69 kB / 0.5223 GB, free: 1.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1677, allocations: 318.8 kB / 0.5226 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.1681, allocations: 171.9 kB / 0.5227 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.1685, allocations: 187.3 kB / 0.5229 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.1696, allocations: 416.6 kB / 0.5233 GB, free: 408 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1696, allocations: 0 / 0.5233 GB, free: 408 kB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001122/0.1707, allocations: 465.3 kB / 0.5238 GB, free: 15.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1707, allocations: 4 kB / 0.5238 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1708, allocations: 256 / 0.5238 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.1708, allocations: 4 kB / 0.5238 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.1712, allocations: 71.94 kB / 0.5238 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1712, allocations: 0 / 0.5238 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.1714, allocations: 19.98 kB / 0.5239 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.1714, allocations: 15.98 kB / 0.5239 GB, free: 15.82 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.0001508/0.1716, allocations: 125.7 kB / 0.524 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.1716, allocations: 7.953 kB / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.1729, allocations: 0.5402 MB / 0.5245 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1729, allocations: 4 kB / 0.5245 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1729, allocations: 4 kB / 0.5245 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1729, allocations: 0 / 0.5245 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.1752, allocations: 0.7759 MB / 0.5253 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1752, allocations: 4 kB / 0.5253 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/0.1755, allocations: 64.14 kB / 0.5254 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.1756, allocations: 12.39 kB / 0.5254 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.1756, allocations: 16 kB / 0.5254 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1756, allocations: 0 / 0.5254 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.1756, allocations: 11.92 kB / 0.5254 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1766, allocations: 464.3 kB / 0.5258 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.1766, allocations: 15.88 kB / 0.5259 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.1767, allocations: 15.88 kB / 0.5259 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.1769, allocations: 15.98 kB / 0.5259 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.1769, allocations: 19.91 kB / 0.5259 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.177, allocations: 19.98 kB / 0.5259 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.593e-05/0.177, allocations: 83.28 kB / 0.526 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.177, allocations: 0 / 0.526 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009041/0.1779, allocations: 315.6 kB / 0.5263 GB, free: 13.23 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.001473/0.1794, allocations: 238.7 kB / 0.5265 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008982/0.1803, allocations: 331.7 kB / 0.5268 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1803, allocations: 0 / 0.5268 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003636/0.1807, allocations: 143.8 kB / 0.527 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.181, allocations: 15.88 kB / 0.527 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.1823, allocations: 432.4 kB / 0.5274 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.784e-05/0.1824, allocations: 79.56 kB / 0.5275 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.1826, allocations: 51.41 kB / 0.5275 GB, free: 11.88 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1826, allocations: 0 / 0.5275 GB, free: 11.88 MB / 414.1 MB Notification: Performance of Templates: time 0.01232/0.1949, allocations: 6.577 MB / 0.534 GB, free: 5.297 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: 7.7235366278328]