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.001506/0.001506, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001811/0.001811, allocations: 165.5 kB / 24.82 MB, free: 9.27 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.9545/0.9545, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.276/0.276, allocations: 34.27 MB / 296.1 MB, free: 0.7188 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.763e-06/1.763e-06, allocations: 0 / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.383e-05, allocations: 2.312 kB / 378.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001117/0.00114, allocations: 0.5513 MB / 379 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000545/0.001685, allocations: 338.6 kB / 379.4 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.001715, allocations: 4 kB / 379.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.001734, allocations: 7.938 kB / 379.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.855e-05/0.001773, allocations: 0 / 379.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.002146, allocations: 111.5 kB / 379.5 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.003e-05/0.002206, allocations: 23.92 kB / 379.5 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.002247, allocations: 7.984 kB / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.891e-05/0.002286, allocations: 12 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.00235, allocations: 19.91 kB / 379.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.002365, allocations: 4 kB / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.002541, allocations: 107.9 kB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.002555, allocations: 3.984 kB / 379.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.604e-05/0.002571, allocations: 11.98 kB / 379.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.002721, allocations: 119.6 kB / 379.8 MB, free: 1.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.002723, allocations: 0 / 379.8 MB, free: 1.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.002724, allocations: 0 / 379.8 MB, free: 1.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.002727, allocations: 0 / 379.8 MB, free: 1.117 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.0003384/0.003066, allocations: 392.3 kB / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.003106, allocations: 12.03 kB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.003139, allocations: 12.89 kB / 380.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.906e-05/0.003218, allocations: 112.5 kB / 380.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.003229, allocations: 8.375 kB / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.003249, allocations: 8.359 kB / 380.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.04e-05/0.003329, allocations: 46.23 kB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.00334, allocations: 4.141 kB / 380.4 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.003347, allocations: 4.375 kB / 380.4 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.003352, allocations: 384 / 380.4 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.395e-05/0.003386, allocations: 23.86 kB / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.003507, allocations: 109.2 kB / 380.5 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.003647, allocations: 54.97 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.003672, allocations: 27.67 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.00381, allocations: 34.72 kB / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.003835, allocations: 45.59 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 8.11e-07/0.003836, allocations: 0 / 380.7 MB, free: 124 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.01967/0.02351, allocations: 2.329 MB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.02354, allocations: 51.41 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.762e-05/0.02361, allocations: 165.9 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.02364, allocations: 29.7 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.02368, allocations: 126.9 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.216e-05/0.02375, allocations: 67.42 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.02386, allocations: 63.27 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.02399, allocations: 0.4962 MB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.02414, allocations: 127.9 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.02428, allocations: 116 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.02478, allocations: 306.2 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.02478, allocations: 0 / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005719/0.02535, allocations: 361.4 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.02537, allocations: 11.94 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.02537, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.02539, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.02562, allocations: 71.88 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.02562, allocations: 3.984 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.02573, allocations: 23.98 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.02576, allocations: 15.98 kB / 385 MB, free: 11.68 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 0.0001044/0.02587, allocations: 164.5 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.02592, allocations: 19.89 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006651/0.02658, allocations: 440.1 kB / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.02659, allocations: 4 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.02659, allocations: 256 / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.02659, allocations: 0 / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.0278, allocations: 0.742 MB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.0278, allocations: 0 / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.02798, allocations: 80.06 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.02798, allocations: 4 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.02801, allocations: 15.98 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.02801, allocations: 0 / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.02801, allocations: 4 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.02849, allocations: 441.8 kB / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.0285, allocations: 11.91 kB / 386.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.02853, allocations: 7.984 kB / 386.9 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.02865, allocations: 23.98 kB / 386.9 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.02868, allocations: 27.84 kB / 386.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.0287, allocations: 12 kB / 387 MB, free: 9.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.745e-05/0.02874, allocations: 127.2 kB / 387.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02874, allocations: 0 / 387.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007194/0.02946, allocations: 315.6 kB / 387.4 MB, free: 9.16 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.001013/0.03047, allocations: 262.7 kB / 387.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.03081, allocations: 257 kB / 387.9 MB, free: 8.637 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.03081, allocations: 0 / 387.9 MB, free: 8.637 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.03099, allocations: 111.6 kB / 388 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.03125, allocations: 31.98 kB / 388 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007085/0.03196, allocations: 400.8 kB / 388.4 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.97e-05/0.03201, allocations: 71.58 kB / 388.5 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000234/0.03224, allocations: 92.97 kB / 388.6 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.03247, allocations: 114.2 kB / 388.7 MB, free: 7.746 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.03247, allocations: 0 / 388.7 MB, free: 7.746 MB / 362.7 MB Notification: Performance of Templates: time 0.02283/0.05529, allocations: 19.59 MB / 408.3 MB, free: 4.184 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.098981323186308]