Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001142/0.001142, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001097/0.001097, allocations: 171.7 kB / 24.91 MB, free: 8.789 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 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2618/0.2618, allocations: 32.81 MB / 294.6 MB, free: 1.266 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.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.04e-05, allocations: 2.312 kB / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002416/0.002437, allocations: 1.699 MB / 325 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007406/0.003177, allocations: 0.5413 MB / 325.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.003228, allocations: 0 / 325.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.003511, allocations: 119.6 kB / 325.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.003751, allocations: 127.5 kB / 325.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.003958, allocations: 95.62 kB / 325.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.004102, allocations: 99.8 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.075e-05/0.004182, allocations: 7.984 kB / 326 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.004255, allocations: 63.75 kB / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.968e-05/0.004354, allocations: 67.91 kB / 326.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.004367, allocations: 4 kB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.88e-05/0.004446, allocations: 47.86 kB / 326.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.00449, allocations: 31.91 kB / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.004513, allocations: 19.92 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.004658, allocations: 99.59 kB / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004659, allocations: 0 / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00466, allocations: 4 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.004664, allocations: 0 / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003167/0.004981, allocations: 349.1 kB / 326.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.005011, allocations: 8.031 kB / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.005038, allocations: 4.938 kB / 326.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.005171, allocations: 149.6 kB / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.005179, allocations: 4.375 kB / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.005195, allocations: 384 / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.005282, allocations: 66.92 kB / 326.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.00529, allocations: 192 / 326.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.005299, allocations: 8.125 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.005304, allocations: 0 / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.005325, allocations: 7.938 kB / 326.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.005547, allocations: 179.6 kB / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.5e-05/0.005592, allocations: 30.56 kB / 327.1 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.005605, allocations: 8.859 kB / 327.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.005618, allocations: 0 / 327.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.00564, allocations: 42.44 kB / 327.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.005641, allocations: 4 kB / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003869/0.006028, allocations: 141.7 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.006054, allocations: 59.38 kB / 327.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.006182, allocations: 209.2 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.006191, allocations: 25.7 kB / 327.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.006228, allocations: 104 kB / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.006253, allocations: 27.75 kB / 327.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.006281, allocations: 21.69 kB / 327.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.006368, allocations: 330.8 kB / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.006382, allocations: 12 kB / 328.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.006394, allocations: 7.984 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.562e-05/0.00643, allocations: 28.78 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.006431, allocations: 0 / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.408e-05/0.006495, allocations: 69.53 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.006505, allocations: 4 kB / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.00651, allocations: 0 / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.006519, allocations: 0 / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.006576, allocations: 15.98 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.00658, allocations: 4 kB / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.006596, allocations: 4 kB / 328.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.006602, allocations: 4 kB / 328.2 MB, free: 4.559 MB / 298.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 (8): * Single equations (assignments): 8 * 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 5.361e-05/0.006656, allocations: 116.6 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.006677, allocations: 15.92 kB / 328.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.597e-05/0.006773, allocations: 75.44 kB / 328.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.006775, allocations: 3.984 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.006777, allocations: 4 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006779, allocations: 0 / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.007001, allocations: 251.5 kB / 328.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007003, allocations: 8.031 kB / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.007039, allocations: 15.98 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.007042, allocations: 0 / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.007048, allocations: 7.938 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.00705, allocations: 4 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007051, allocations: 0 / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.362e-05/0.007135, allocations: 160.3 kB / 328.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.007146, allocations: 11.91 kB / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.007158, allocations: 7.984 kB / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.007192, allocations: 4 kB / 328.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.007221, allocations: 11.98 kB / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.007225, allocations: 0 / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.012e-05/0.007305, allocations: 68.62 kB / 328.9 MB, free: 3.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007305, allocations: 0 / 328.9 MB, free: 3.738 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001437/0.007449, allocations: 23.94 kB / 329 MB, free: 3.715 MB / 298.7 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 (8): * Single equations (assignments): 8 * 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.001228/0.008677, allocations: 0.579 MB / 329.6 MB, free: 3.438 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.052e-05/0.008758, allocations: 36.77 kB / 329.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.008762, allocations: 4 kB / 329.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.25e-05/0.008784, allocations: 28.92 kB / 329.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.008951, allocations: 19.98 kB / 329.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.009312, allocations: 257 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.262e-05/0.009364, allocations: 75.33 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.884e-05/0.009403, allocations: 8.734 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.009459, allocations: 59.36 kB / 330 MB, free: 2.898 MB / 298.7 MB Notification: Performance of SimCode: time 6.72e-07/0.00946, allocations: 0 / 330 MB, free: 2.898 MB / 298.7 MB Notification: Performance of Templates: time 0.003124/0.01258, allocations: 1.507 MB / 331.5 MB, free: 1.402 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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: 2.970338355284184]