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.001166/0.001166, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009722/0.0009722, allocations: 161 kB / 24.56 MB, free: 20 kB / 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 1.018/1.018, allocations: 177.1 MB / 205 MB, free: 5.289 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.2409/0.2409, allocations: 34.26 MB / 295.7 MB, free: 0.6445 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.162e-06/1.162e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.672e-05, allocations: 6.25 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0009904/0.001007, allocations: 0.5361 MB / 378.6 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005165/0.001524, allocations: 350.6 kB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.001547, allocations: 0 / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.001565, allocations: 4 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.996e-05/0.001595, allocations: 3.938 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.001954, allocations: 115.6 kB / 379 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.321e-05/0.002007, allocations: 23.92 kB / 379 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.002046, allocations: 4 kB / 379.1 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.547e-05/0.002081, allocations: 19.97 kB / 379.1 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.865e-05/0.00213, allocations: 11.92 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.002144, allocations: 0 / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.002316, allocations: 115.9 kB / 379.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.002329, allocations: 0 / 379.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.002347, allocations: 11.92 kB / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.002501, allocations: 123.6 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002503, allocations: 4 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.002504, allocations: 0 / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.002508, allocations: 0 / 379.3 MB, free: 1.34 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.0003346/0.002843, allocations: 388.3 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.002878, allocations: 12.03 kB / 379.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.002914, allocations: 8.891 kB / 379.7 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.183e-05/0.002986, allocations: 116.5 kB / 379.8 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.002998, allocations: 8.359 kB / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.003021, allocations: 4.375 kB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.713e-05/0.003108, allocations: 58.17 kB / 379.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.003118, allocations: 8.141 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.003127, allocations: 4.312 kB / 379.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.003134, allocations: 384 / 379.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.843e-05/0.003182, allocations: 19.92 kB / 379.9 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.003307, allocations: 120.6 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.003472, allocations: 63.06 kB / 380.1 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.003507, allocations: 27.67 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.003666, allocations: 27.97 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.003687, allocations: 33.39 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.003688, allocations: 4 kB / 380.2 MB, free: 332 kB / 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.01853/0.02222, allocations: 2.422 MB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.02225, allocations: 51.41 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.295e-05/0.02232, allocations: 165.9 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.02235, allocations: 33.7 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.02238, allocations: 126.9 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.02244, allocations: 63.44 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/0.02253, allocations: 63.34 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.02265, allocations: 0.4923 MB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.02281, allocations: 147.9 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.02296, allocations: 144 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.02342, allocations: 366.6 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.02342, allocations: 0 / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004927/0.02391, allocations: 409.5 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.02393, allocations: 4 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.02393, allocations: 4 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.02395, allocations: 4 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.02416, allocations: 71.88 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.02416, allocations: 3.984 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.185e-05/0.02426, allocations: 19.98 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.02428, allocations: 15.98 kB / 384.8 MB, free: 11.64 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 9.159e-05/0.02437, allocations: 164.6 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.02441, allocations: 19.89 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000621/0.02503, allocations: 497.8 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.02504, allocations: 0 / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.02504, allocations: 4 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.02505, allocations: 0 / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.02611, allocations: 0.7883 MB / 386.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.02611, allocations: 4 kB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.02626, allocations: 71.88 kB / 386.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.02626, allocations: 0 / 386.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.02628, allocations: 16 kB / 386.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.02628, allocations: 4.25 kB / 386.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.02629, allocations: 8.125 kB / 386.3 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.02671, allocations: 474.7 kB / 386.8 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.02672, allocations: 7.953 kB / 386.8 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.02674, allocations: 4 kB / 386.8 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.524e-05/0.02684, allocations: 27.97 kB / 386.9 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.02686, allocations: 11.92 kB / 386.9 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.02688, allocations: 19.98 kB / 386.9 MB, free: 9.422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.432e-05/0.02691, allocations: 127.2 kB / 387 MB, free: 9.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02691, allocations: 3.938 kB / 387 MB, free: 9.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006073/0.02752, allocations: 319.6 kB / 387.3 MB, free: 8.98 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.0009689/0.02849, allocations: 262.7 kB / 387.6 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.02885, allocations: 293.6 kB / 387.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.02886, allocations: 0 / 387.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.02899, allocations: 127.5 kB / 388 MB, free: 8.293 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.0292, allocations: 23.98 kB / 388 MB, free: 8.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/0.02987, allocations: 432.5 kB / 388.4 MB, free: 7.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.19e-05/0.02991, allocations: 59.59 kB / 388.5 MB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000179/0.03009, allocations: 96.97 kB / 388.6 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.03022, allocations: 48.47 kB / 388.6 MB, free: 7.57 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.03022, allocations: 0 / 388.6 MB, free: 7.57 MB / 362.7 MB Notification: Performance of Templates: time 0.01627/0.04649, allocations: 18.72 MB / 407.4 MB, free: 4.863 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.20094757899642]