Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001782/0.001782, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002196/0.002196, allocations: 210 kB / 23.73 MB, free: 4.387 MB / 14.72 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.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2254/0.2254, allocations: 44.94 MB / 358.8 MB, free: 6.062 MB / 286.1 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.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 71.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3433, allocations: 65.47 MB / 0.5575 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003232/0.3466, allocations: 1.644 MB / 0.5591 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3478, allocations: 0.5427 MB / 0.5596 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/0.3478, allocations: 0 / 0.5596 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.3481, allocations: 95.73 kB / 0.5597 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.3485, allocations: 115.6 kB / 0.5598 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.3488, allocations: 119.2 kB / 0.5599 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.349, allocations: 103.8 kB / 0.56 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3491, allocations: 27.62 kB / 0.56 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.3492, allocations: 39.84 kB / 0.5601 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3493, allocations: 67.8 kB / 0.5602 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3493, allocations: 7.938 kB / 0.5602 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.3495, allocations: 43.98 kB / 0.5602 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.846e-05/0.3495, allocations: 31.84 kB / 0.5602 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.3496, allocations: 39.73 kB / 0.5603 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.3498, allocations: 126.2 kB / 0.5604 GB, free: 4.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.3498, allocations: 4 kB / 0.5604 GB, free: 4.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3498, allocations: 0 / 0.5604 GB, free: 4.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3498, allocations: 4 kB / 0.5604 GB, free: 4.512 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005805/0.3504, allocations: 361.5 kB / 0.5607 GB, free: 4.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3504, allocations: 8.031 kB / 0.5608 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.3505, allocations: 16.84 kB / 0.5608 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.3507, allocations: 162.2 kB / 0.5609 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3507, allocations: 4.375 kB / 0.5609 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.3508, allocations: 8.375 kB / 0.5609 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.351, allocations: 77.78 kB / 0.561 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.351, allocations: 3.953 kB / 0.561 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.351, allocations: 3.984 kB / 0.561 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.351, allocations: 8 kB / 0.561 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3511, allocations: 43.91 kB / 0.5611 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.3516, allocations: 280.4 kB / 0.5613 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.3517, allocations: 66.48 kB / 0.5614 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.043e-05/0.3518, allocations: 20.84 kB / 0.5614 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3518, allocations: 4 kB / 0.5614 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3519, allocations: 30.56 kB / 0.5614 GB, free: 3.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.3519, allocations: 0 / 0.5614 GB, free: 3.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001138/0.353, allocations: 329.8 kB / 0.5618 GB, free: 2.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.3531, allocations: 67.27 kB / 0.5618 GB, free: 2.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.3533, allocations: 239.5 kB / 0.5621 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.3533, allocations: 29.7 kB / 0.5621 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.3534, allocations: 116 kB / 0.5622 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.3535, allocations: 47.58 kB / 0.5622 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.3535, allocations: 25.72 kB / 0.5623 GB, free: 2.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3537, allocations: 330.8 kB / 0.5626 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.3538, allocations: 47.91 kB / 0.5626 GB, free: 2.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.3539, allocations: 47.97 kB / 0.5627 GB, free: 2.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.3541, allocations: 100.8 kB / 0.5628 GB, free: 1.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3541, allocations: 0 / 0.5628 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000302/0.3544, allocations: 164.9 kB / 0.5629 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3544, allocations: 4 kB / 0.5629 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3544, allocations: 0 / 0.5629 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3545, allocations: 4 kB / 0.5629 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.3546, allocations: 31.86 kB / 0.563 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3546, allocations: 240 / 0.563 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.3547, allocations: 7.984 kB / 0.563 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.3547, allocations: 11.98 kB / 0.563 GB, free: 1.684 MB / 398.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 (13): * Single equations (assignments): 13 * 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.0001252/0.3548, allocations: 134.4 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.3548, allocations: 15.91 kB / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/0.3553, allocations: 194.9 kB / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3553, allocations: 7.922 kB / 0.5633 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3553, allocations: 0 / 0.5633 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3553, allocations: 0 / 0.5633 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006642/0.3559, allocations: 434.8 kB / 0.5637 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3559, allocations: 4.031 kB / 0.5637 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.839e-05/0.356, allocations: 23.98 kB / 0.5638 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.356, allocations: 0 / 0.5638 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.356, allocations: 4 kB / 0.5638 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3561, allocations: 3.938 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3561, allocations: 0 / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.3564, allocations: 256.2 kB / 0.564 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.3564, allocations: 15.89 kB / 0.564 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.3565, allocations: 8 kB / 0.564 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.3565, allocations: 8 kB / 0.564 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.3566, allocations: 7.984 kB / 0.5641 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3566, allocations: 8 kB / 0.5641 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.3568, allocations: 181.1 kB / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3568, allocations: 0 / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.357, allocations: 31.94 kB / 0.5643 GB, free: 304 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001904/0.3589, allocations: 0.4902 MB / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.3592, allocations: 103.9 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3592, allocations: 0 / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.3594, allocations: 55.91 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.3597, allocations: 31.73 kB / 0.5649 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.3603, allocations: 327.7 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.3605, allocations: 112.9 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.475e-05/0.3605, allocations: 28.47 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.3606, allocations: 23.42 kB / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3606, allocations: 0 / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Templates: time 0.004964/0.3656, allocations: 1.678 MB / 0.567 GB, free: 13.64 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.270381508395076]