Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001305/0.001305, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001415/0.001415, allocations: 166.7 kB / 24.99 MB, free: 8.797 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8973/0.8973, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 34.26 MB / 296 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.073e-06/1.073e-06, allocations: 0 / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.631e-05, allocations: 5.828 kB / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0009116/0.0009279, allocations: 0.5477 MB / 378.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000458/0.001386, allocations: 342.7 kB / 378.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.001414, allocations: 0 / 378.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.001431, allocations: 7.938 kB / 378.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.885e-05/0.00146, allocations: 3.938 kB / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.001774, allocations: 103.6 kB / 379 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.88e-05/0.001833, allocations: 31.91 kB / 379 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.001866, allocations: 4 kB / 379 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.947e-05/0.001896, allocations: 19.98 kB / 379.1 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.001946, allocations: 11.97 kB / 379.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.00196, allocations: 3.938 kB / 379.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.002113, allocations: 107.9 kB / 379.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.002126, allocations: 7.984 kB / 379.2 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.002144, allocations: 7.984 kB / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.002284, allocations: 119.6 kB / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002286, allocations: 0 / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002286, allocations: 0 / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.00229, allocations: 3.938 kB / 379.3 MB, free: 1.656 MB / 346.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.000539/0.002829, allocations: 396.3 kB / 379.7 MB, free: 1.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.00286, allocations: 12.03 kB / 379.7 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.0029, allocations: 8.891 kB / 379.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.45e-05/0.002974, allocations: 108.6 kB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.002986, allocations: 8.375 kB / 379.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.003005, allocations: 4.375 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.251e-05/0.003087, allocations: 50.17 kB / 379.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.003099, allocations: 8.141 kB / 379.9 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.003108, allocations: 4.375 kB / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.003115, allocations: 384 / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.149e-05/0.003156, allocations: 23.91 kB / 379.9 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.003272, allocations: 128.6 kB / 380 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.00342, allocations: 59.08 kB / 380.1 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/0.003452, allocations: 27.67 kB / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.003598, allocations: 27.97 kB / 380.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.003618, allocations: 41.31 kB / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 9.01e-07/0.003619, allocations: 0 / 380.2 MB, free: 0.6367 MB / 346.7 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.01769/0.02131, allocations: 2.418 MB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.02134, allocations: 51.41 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.02141, allocations: 165.9 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.02143, allocations: 29.7 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.02146, allocations: 126.9 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.02152, allocations: 67.42 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.0216, allocations: 59.34 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.0217, allocations: 0.4962 MB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.02186, allocations: 147.9 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.02202, allocations: 147.9 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.02247, allocations: 358 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.02247, allocations: 0 / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004826/0.02295, allocations: 416.3 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.02296, allocations: 7.984 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.02297, allocations: 0 / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.02298, allocations: 0 / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.02317, allocations: 79.88 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.02317, allocations: 0 / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.076e-05/0.02327, allocations: 19.98 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.02329, allocations: 15.98 kB / 384.8 MB, free: 11.96 MB / 362.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 () * 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 8.775e-05/0.02337, allocations: 164.5 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.02341, allocations: 19.89 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006001/0.02401, allocations: 493.9 kB / 385.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.02402, allocations: 0 / 385.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.02402, allocations: 0 / 385.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.02402, allocations: 4 kB / 385.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.02505, allocations: 0.7921 MB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.02506, allocations: 8.188 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.02519, allocations: 67.94 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.0252, allocations: 4 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.02521, allocations: 12 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.02522, allocations: 7.922 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.02522, allocations: 7.938 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006356/0.02586, allocations: 461.9 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-06/0.02586, allocations: 11.95 kB / 386.8 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.02589, allocations: 4 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.02598, allocations: 27.91 kB / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.026, allocations: 19.92 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.02602, allocations: 19.98 kB / 386.9 MB, free: 9.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.897e-05/0.02605, allocations: 123.2 kB / 387 MB, free: 9.617 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02605, allocations: 4 kB / 387 MB, free: 9.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005329/0.02659, allocations: 315.6 kB / 387.3 MB, free: 9.305 MB / 362.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 () * 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.0008688/0.02745, allocations: 258.7 kB / 387.6 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003514/0.02781, allocations: 304.3 kB / 387.8 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02781, allocations: 0 / 387.8 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.02794, allocations: 130.1 kB / 388 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.02814, allocations: 27.98 kB / 388 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.02877, allocations: 420.7 kB / 388.4 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.776e-05/0.0288, allocations: 63.58 kB / 388.5 MB, free: 8.031 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.02898, allocations: 88.98 kB / 388.6 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.02911, allocations: 56.45 kB / 388.6 MB, free: 7.887 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02911, allocations: 4 kB / 388.6 MB, free: 7.883 MB / 362.7 MB Notification: Performance of Templates: time 0.01525/0.04435, allocations: 18.71 MB / 407.3 MB, free: 5.176 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0007766829803586]