Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.0008826/0.0008826, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.000874/0.000874, allocations: 168.1 kB / 24.82 MB, free: 9.277 MB / 18.57 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 0.9736/0.9736, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2396/0.2396, allocations: 34.86 MB / 296.6 MB, free: 0.5195 MB / 266.7 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.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.369e-05, allocations: 3.297 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002006/0.002029, allocations: 1.631 MB / 380.9 MB, free: 180 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006827/0.002712, allocations: 0.5329 MB / 381.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.002764, allocations: 0 / 381.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.002939, allocations: 19.86 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.00318, allocations: 87.55 kB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.00341, allocations: 115.5 kB / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.003524, allocations: 67.77 kB / 381.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.332e-05/0.003607, allocations: 7.859 kB / 381.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.783e-05/0.003665, allocations: 39.83 kB / 381.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.003712, allocations: 15.98 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.003724, allocations: 4 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.935e-05/0.003783, allocations: 24 kB / 381.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.00382, allocations: 19.91 kB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.00384, allocations: 15.94 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.003961, allocations: 67.75 kB / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003963, allocations: 0 / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.003964, allocations: 0 / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.003967, allocations: 0 / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00032/0.004287, allocations: 412.1 kB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.00432, allocations: 15.97 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.004348, allocations: 12.83 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.82e-05/0.004446, allocations: 132.5 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.004454, allocations: 384 / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.004468, allocations: 384 / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.983e-05/0.004548, allocations: 62.94 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.004556, allocations: 192 / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-06/0.004561, allocations: 384 / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.004567, allocations: 4.375 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.004584, allocations: 7.938 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.004793, allocations: 256.3 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.004909, allocations: 43.11 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.004927, allocations: 11.69 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.004945, allocations: 0 / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.004963, allocations: 33.39 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.004964, allocations: 4 kB / 382.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002452/0.005209, allocations: 97.48 kB / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.005231, allocations: 55.41 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.005321, allocations: 204.7 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.005329, allocations: 25.7 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.005376, allocations: 138.9 kB / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.005397, allocations: 27.77 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.005426, allocations: 23.38 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.005538, allocations: 0.4923 MB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.005558, allocations: 4 kB / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.216e-05/0.00557, allocations: 8 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.242e-05/0.005602, allocations: 19.67 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.005603, allocations: 0 / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.369e-05/0.005667, allocations: 57.94 kB / 384 MB, free: 12.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.005679, allocations: 11.92 kB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.005682, allocations: 0 / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.005693, allocations: 7.938 kB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.863e-05/0.005732, allocations: 8 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-06/0.005734, allocations: 0 / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.005749, allocations: 3.938 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.005756, allocations: 15.97 kB / 384 MB, free: 12.8 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 (5): * Single equations (assignments): 5 * 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.657e-05/0.005812, allocations: 152.6 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.005833, allocations: 7.953 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.764e-05/0.005931, allocations: 74.08 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.005932, allocations: 0 / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.005934, allocations: 0 / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.005936, allocations: 0 / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.006137, allocations: 298.3 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.00614, allocations: 4.062 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.631e-05/0.006166, allocations: 8 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.006169, allocations: 7.938 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.006173, allocations: 0 / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.006174, allocations: 0 / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006175, allocations: 4 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.97e-05/0.006265, allocations: 207.8 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.006272, allocations: 7.891 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-06/0.006281, allocations: 0 / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.893e-05/0.00631, allocations: 4 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.006332, allocations: 7.984 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.006335, allocations: 4 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.364e-05/0.006378, allocations: 139.2 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006378, allocations: 8 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.006532, allocations: 12 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0007523/0.007285, allocations: 380 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.557e-05/0.00736, allocations: 35.59 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007362, allocations: 0 / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.921e-05/0.007381, allocations: 19.67 kB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.007575, allocations: 15.95 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.007841, allocations: 182.5 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.007875, allocations: 67.34 kB / 385.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.823e-05/0.007903, allocations: 11.98 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.007956, allocations: 82.19 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007956, allocations: 0 / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Templates: time 0.002715/0.01067, allocations: 1.277 MB / 387 MB, free: 9.809 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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.823381354101002]