Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009188/0.0009188, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.0008625/0.0008625, allocations: 170.7 kB / 24.82 MB, free: 8.875 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.9591/0.9591, allocations: 177.2 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2564/0.2564, allocations: 32.81 MB / 294.6 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.619e-05, allocations: 5.406 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001844/0.00188, allocations: 0.5477 MB / 377 MB, free: 3.863 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007147/0.002595, allocations: 338.7 kB / 377.3 MB, free: 3.531 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.002633, allocations: 0 / 377.3 MB, free: 3.531 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.002655, allocations: 3.938 kB / 377.3 MB, free: 3.527 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.002698, allocations: 7.938 kB / 377.4 MB, free: 3.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.003146, allocations: 111.6 kB / 377.5 MB, free: 3.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.618e-05/0.003212, allocations: 23.92 kB / 377.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.003259, allocations: 11.97 kB / 377.5 MB, free: 3.375 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.438e-05/0.003303, allocations: 11.94 kB / 377.5 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.003367, allocations: 11.98 kB / 377.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.003385, allocations: 0 / 377.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.003609, allocations: 115.9 kB / 377.6 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.003625, allocations: 0 / 377.6 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.003648, allocations: 19.91 kB / 377.7 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.003849, allocations: 111.7 kB / 377.8 MB, free: 3.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.003853, allocations: 4 kB / 377.8 MB, free: 3.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.003854, allocations: 0 / 377.8 MB, free: 3.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.003859, allocations: 0 / 377.8 MB, free: 3.105 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.0004352/0.004294, allocations: 400.2 kB / 378.2 MB, free: 2.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.004345, allocations: 12.03 kB / 378.2 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.004386, allocations: 8.891 kB / 378.2 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.742e-05/0.004484, allocations: 108.6 kB / 378.3 MB, free: 2.523 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.004499, allocations: 8.375 kB / 378.3 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.004521, allocations: 4.375 kB / 378.3 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.717e-05/0.004618, allocations: 46.23 kB / 378.3 MB, free: 2.461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.004633, allocations: 12.06 kB / 378.4 MB, free: 2.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.004641, allocations: 4.375 kB / 378.4 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.004648, allocations: 4.375 kB / 378.4 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.00469, allocations: 23.91 kB / 378.4 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.004851, allocations: 109.2 kB / 378.5 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.005051, allocations: 47.33 kB / 378.5 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.659e-05/0.005088, allocations: 23.61 kB / 378.6 MB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.005287, allocations: 35.97 kB / 378.6 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.005321, allocations: 49.38 kB / 378.6 MB, free: 2.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.883e-06/0.005322, allocations: 0 / 378.6 MB, free: 2.105 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.02209/0.02741, allocations: 2.328 MB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.02744, allocations: 51.41 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.02752, allocations: 161.9 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.02755, allocations: 33.7 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.02759, allocations: 130.9 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/0.02765, allocations: 63.42 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/0.02773, allocations: 59.34 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.02785, allocations: 0.4923 MB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.02797, allocations: 123.9 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.02807, allocations: 116 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.02844, allocations: 310 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.02844, allocations: 0 / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004106/0.02885, allocations: 361.4 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.02887, allocations: 14.59 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.02888, allocations: 4 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.02889, allocations: 3.984 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.02909, allocations: 67.94 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.02909, allocations: 0 / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-05/0.02918, allocations: 15.98 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.0292, allocations: 19.98 kB / 383 MB, free: 13.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 9.696e-05/0.0293, allocations: 164.5 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.02934, allocations: 23.89 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005337/0.02987, allocations: 439.5 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.02988, allocations: 4 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.02988, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.02988, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009946/0.03088, allocations: 0.7534 MB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.03088, allocations: 0 / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.03102, allocations: 71.94 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.03103, allocations: 7.938 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.03105, allocations: 15.98 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.03105, allocations: 0 / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.03106, allocations: 11.92 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.03145, allocations: 442 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.03146, allocations: 11.91 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.03148, allocations: 7.984 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.03158, allocations: 19.98 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.0316, allocations: 23.84 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.03162, allocations: 16 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.484e-05/0.03167, allocations: 127.2 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03167, allocations: 0 / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007356/0.0324, allocations: 315.6 kB / 385.4 MB, free: 11.14 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.0009008/0.0333, allocations: 262.7 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003112/0.03361, allocations: 249.4 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.03362, allocations: 0 / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.03372, allocations: 119.5 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.03393, allocations: 27.98 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006319/0.03456, allocations: 403.5 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.479e-05/0.03461, allocations: 67.58 kB / 386.5 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.03481, allocations: 92.97 kB / 386.6 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.03499, allocations: 118.2 kB / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.035, allocations: 0 / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of Templates: time 0.02068/0.05567, allocations: 19.57 MB / 406.3 MB, free: 6.18 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1913046748377383]