Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001469/0.001469, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001627/0.001627, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.3 MB / 258 MB, free: 8.211 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.88 MB / 361.3 MB, free: 4.426 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 84.12 kB / 0.497 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3095, allocations: 66.02 MB / 0.5615 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0017/0.3112, allocations: 0.5442 MB / 0.5621 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007942/0.312, allocations: 414.8 kB / 0.5624 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.3121, allocations: 0 / 0.5624 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.3121, allocations: 3.938 kB / 0.5624 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.166e-05/0.3121, allocations: 3.938 kB / 0.5625 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.3126, allocations: 139.4 kB / 0.5626 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.029e-05/0.3126, allocations: 27.92 kB / 0.5626 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.3127, allocations: 7.938 kB / 0.5626 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.195e-05/0.3127, allocations: 11.94 kB / 0.5626 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.3127, allocations: 19.91 kB / 0.5627 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.3128, allocations: 4 kB / 0.5627 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.313, allocations: 155.8 kB / 0.5628 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.313, allocations: 7.984 kB / 0.5628 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.3131, allocations: 19.86 kB / 0.5628 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.3133, allocations: 122.4 kB / 0.5629 GB, free: 3.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3133, allocations: 0 / 0.5629 GB, free: 3.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3133, allocations: 0 / 0.5629 GB, free: 3.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3133, allocations: 3.938 kB / 0.563 GB, free: 3.156 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.0004173/0.3137, allocations: 297.9 kB / 0.5632 GB, free: 2.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3137, allocations: 8.031 kB / 0.5632 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.3138, allocations: 4.938 kB / 0.5632 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.3139, allocations: 118.5 kB / 0.5634 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3139, allocations: 384 / 0.5634 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.3139, allocations: 4.375 kB / 0.5634 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.3141, allocations: 54.19 kB / 0.5634 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.3141, allocations: 11.81 kB / 0.5634 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3141, allocations: 4 kB / 0.5634 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3141, allocations: 7.984 kB / 0.5634 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.3142, allocations: 27.98 kB / 0.5635 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.3143, allocations: 136.8 kB / 0.5636 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.3145, allocations: 58.58 kB / 0.5637 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.3146, allocations: 20.86 kB / 0.5637 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/0.3148, allocations: 31.95 kB / 0.5637 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3149, allocations: 34.56 kB / 0.5637 GB, free: 2.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.123e-06/0.3149, allocations: 0 / 0.5637 GB, free: 2.23 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.143/0.4579, allocations: 6.386 MB / 0.57 GB, free: 11.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.4579, allocations: 55.41 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.458, allocations: 97.86 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.4581, allocations: 29.7 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.4581, allocations: 92.14 kB / 0.5702 GB, free: 11.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.4582, allocations: 71.41 kB / 0.5703 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.4584, allocations: 85.59 kB / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4586, allocations: 326.8 kB / 0.5707 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.4591, allocations: 227.8 kB / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.4597, allocations: 235.8 kB / 0.5711 GB, free: 10.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/0.4618, allocations: 0.5575 MB / 0.5717 GB, free: 10.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4618, allocations: 480 / 0.5717 GB, free: 10.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001919/0.4638, allocations: 0.6105 MB / 0.5723 GB, free: 9.391 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4638, allocations: 4 kB / 0.5723 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.4638, allocations: 4 kB / 0.5723 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4638, allocations: 0 / 0.5723 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006661/0.4645, allocations: 115.8 kB / 0.5724 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4645, allocations: 3.938 kB / 0.5724 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.4649, allocations: 23.95 kB / 0.5724 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.465, allocations: 31.94 kB / 0.5725 GB, free: 9.211 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.0001724/0.4652, allocations: 123.1 kB / 0.5726 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.4652, allocations: 11.94 kB / 0.5726 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.4674, allocations: 0.7318 MB / 0.5733 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.4674, allocations: 4 kB / 0.5733 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4675, allocations: 0 / 0.5733 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4675, allocations: 0 / 0.5733 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004062/0.4715, allocations: 1.121 MB / 0.5744 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4715, allocations: 4 kB / 0.5744 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005428/0.4721, allocations: 99.78 kB / 0.5745 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.4721, allocations: 4.188 kB / 0.5745 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.4721, allocations: 31.95 kB / 0.5745 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.4721, allocations: 4 kB / 0.5745 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4721, allocations: 0 / 0.5745 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.474, allocations: 0.5811 MB / 0.5751 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.474, allocations: 11.94 kB / 0.5751 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.474, allocations: 8 kB / 0.5751 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.4745, allocations: 27.97 kB / 0.5751 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.4745, allocations: 15.97 kB / 0.5752 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.667e-05/0.4745, allocations: 27.95 kB / 0.5752 GB, free: 6.297 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.292e-05/0.4746, allocations: 87.28 kB / 0.5753 GB, free: 6.211 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4746, allocations: 3.938 kB / 0.5753 GB, free: 6.207 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001736/0.4763, allocations: 0.6479 MB / 0.5759 GB, free: 5.559 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.003203/0.4795, allocations: 298.5 kB / 0.5762 GB, free: 5.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.4808, allocations: 443.5 kB / 0.5766 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4808, allocations: 0 / 0.5766 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000538/0.4813, allocations: 195.8 kB / 0.5768 GB, free: 4.629 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.4816, allocations: 8 kB / 0.5768 GB, free: 4.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.484, allocations: 0.5255 MB / 0.5773 GB, free: 4.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.4843, allocations: 0.7004 MB / 0.578 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004163/0.4847, allocations: 121 kB / 0.5781 GB, free: 3.195 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.4851, allocations: 91.28 kB / 0.5782 GB, free: 3.105 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4851, allocations: 0 / 0.5782 GB, free: 3.105 MB / 414.1 MB Notification: Performance of Templates: time 0.07716/0.5622, allocations: 57.63 MB / 0.6345 GB, free: 9.398 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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: 5.638052828609943]