Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001482/0.001482, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001581/0.001581, allocations: 161.7 kB / 24.26 MB, free: 172 kB / 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.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 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.3738/0.3738, allocations: 32.79 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.522e-05, allocations: 10.25 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.004979/0.005015, allocations: 1.591 MB / 376.9 MB, free: 3.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.007107, allocations: 0.5375 MB / 377.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.007164, allocations: 0 / 377.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.007432, allocations: 23.84 kB / 377.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004941/0.007926, allocations: 79.56 kB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005454/0.008471, allocations: 111.7 kB / 377.6 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.008696, allocations: 71.7 kB / 377.7 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.008804, allocations: 8 kB / 377.7 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.948e-05/0.008903, allocations: 35.89 kB / 377.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.00897, allocations: 8 kB / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.008993, allocations: 4 kB / 377.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.009117, allocations: 39.86 kB / 377.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.009173, allocations: 11.98 kB / 377.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.009222, allocations: 11.92 kB / 377.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.009458, allocations: 83.67 kB / 377.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.00946, allocations: 4 kB / 377.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.009461, allocations: 0 / 377.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.009465, allocations: 0 / 377.9 MB, free: 2.324 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000656/0.01012, allocations: 309.8 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.01017, allocations: 12.03 kB / 378.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.01023, allocations: 8.891 kB / 378.2 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.01051, allocations: 141.6 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.01052, allocations: 384 / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.01055, allocations: 384 / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.01075, allocations: 50.25 kB / 378.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.01077, allocations: 4.125 kB / 378.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.01078, allocations: 8.125 kB / 378.4 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.01079, allocations: 0 / 378.4 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.01094, allocations: 27.97 kB / 378.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.01148, allocations: 220.6 kB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.01174, allocations: 42.59 kB / 378.7 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.559e-05/0.01181, allocations: 16.84 kB / 378.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.01183, allocations: 7.938 kB / 378.7 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.01186, allocations: 30.56 kB / 378.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.01186, allocations: 8 kB / 378.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006332/0.01249, allocations: 157.3 kB / 378.9 MB, free: 1.184 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.01254, allocations: 51.41 kB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.01272, allocations: 150.1 kB / 379.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.01274, allocations: 29.7 kB / 379.1 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.01282, allocations: 96.12 kB / 379.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.01284, allocations: 7.906 kB / 379.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.01288, allocations: 21.72 kB / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.01307, allocations: 322.8 kB / 379.6 MB, free: 480 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.14e-05/0.01315, allocations: 19.98 kB / 379.6 MB, free: 460 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-05/0.01322, allocations: 19.98 kB / 379.6 MB, free: 440 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.01338, allocations: 56.81 kB / 379.7 MB, free: 380 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.01338, allocations: 0 / 379.7 MB, free: 380 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002326/0.01362, allocations: 93.75 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.01363, allocations: 8 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.01363, allocations: 288 / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.01365, allocations: 3.938 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.593e-05/0.01373, allocations: 19.98 kB / 379.8 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01373, allocations: 0 / 379.8 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.01378, allocations: 15.88 kB / 379.8 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.01379, allocations: 0 / 379.8 MB, free: 232 kB / 346.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 0.0001175/0.01391, allocations: 113.8 kB / 379.9 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.01395, allocations: 15.88 kB / 379.9 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.01424, allocations: 106 kB / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01425, allocations: 0 / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.01425, allocations: 0 / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.01425, allocations: 4 kB / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.01476, allocations: 298.2 kB / 380.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.01476, allocations: 0 / 380.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.01482, allocations: 11.94 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01482, allocations: 0 / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.01483, allocations: 8 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01483, allocations: 0 / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.01484, allocations: 3.984 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.01513, allocations: 183.4 kB / 380.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.01514, allocations: 11.94 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.01516, allocations: 4 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.01524, allocations: 4 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.01529, allocations: 3.984 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.0153, allocations: 4.188 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.01541, allocations: 117.7 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01541, allocations: 0 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000254/0.01566, allocations: 15.98 kB / 380.7 MB, free: 15.27 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.001941/0.0176, allocations: 431.4 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.01781, allocations: 47.97 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01782, allocations: 0 / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.154e-05/0.01791, allocations: 31.97 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.01828, allocations: 27.75 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.01878, allocations: 196.9 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.904e-05/0.01888, allocations: 79.33 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.497e-05/0.01893, allocations: 15.97 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.01897, allocations: 12.5 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01897, allocations: 4 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Templates: time 0.004363/0.02333, allocations: 1.173 MB / 382.7 MB, free: 13.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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: 4.871163650997914]