Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.00236/0.00236, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002718/0.002718, allocations: 165.3 kB / 24.27 MB, free: 152 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.566/1.566, allocations: 177.2 MB / 204.6 MB, free: 5.598 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.335/0.335, allocations: 32.8 MB / 293.9 MB, free: 1.195 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.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 375.4 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.395e-05/3.632e-05, allocations: 6.25 kB / 375.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004468/0.004504, allocations: 1.735 MB / 377.1 MB, free: 3.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003931/0.008436, allocations: 1.699 MB / 378.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.777e-05/0.008523, allocations: 0 / 378.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.008859, allocations: 35.73 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.00939, allocations: 111.4 kB / 378.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.00971, allocations: 71.62 kB / 379 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.009998, allocations: 119.7 kB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.0101, allocations: 11.98 kB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.01027, allocations: 63.77 kB / 379.2 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.01045, allocations: 39.88 kB / 379.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.01048, allocations: 4 kB / 379.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.01075, allocations: 103.9 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.472e-05/0.01083, allocations: 23.86 kB / 379.4 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.374e-05/0.01089, allocations: 19.94 kB / 379.4 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.01133, allocations: 191.3 kB / 379.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.01133, allocations: 0 / 379.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01133, allocations: 0 / 379.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.01134, allocations: 3.938 kB / 379.6 MB, free: 0.6484 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008263/0.01217, allocations: 471.4 kB / 380 MB, free: 156 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.01221, allocations: 16.02 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.687e-05/0.0123, allocations: 12.84 kB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.01265, allocations: 152.4 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.01266, allocations: 384 / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.0127, allocations: 8.359 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.01295, allocations: 107.3 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.01297, allocations: 7.938 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.01298, allocations: 0 / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.01299, allocations: 0 / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.01312, allocations: 35.91 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.01369, allocations: 299.7 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.01398, allocations: 71.16 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.489e-05/0.01407, allocations: 27.62 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.01409, allocations: 3.938 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.01432, allocations: 84.97 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.01432, allocations: 0 / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008272/0.01515, allocations: 201.4 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.01523, allocations: 77.11 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.01557, allocations: 246.5 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.01561, allocations: 29.7 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.01576, allocations: 146.9 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.01581, allocations: 35.73 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.01589, allocations: 27.38 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005797/0.01647, allocations: 0.5001 MB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-05/0.01657, allocations: 23.98 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.01673, allocations: 84.69 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.01693, allocations: 75.3 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01694, allocations: 0 / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003512/0.01729, allocations: 121.6 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.01731, allocations: 4 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.01731, allocations: 0 / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.01733, allocations: 0 / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.01747, allocations: 19.94 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.01748, allocations: 3.984 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.183e-05/0.01755, allocations: 4 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.01756, allocations: 4.469 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000181/0.01774, allocations: 168.5 kB / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.0178, allocations: 19.94 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000435/0.01823, allocations: 142.3 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01823, allocations: 0 / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01824, allocations: 0 / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01824, allocations: 0 / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000824/0.01907, allocations: 440.9 kB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.01907, allocations: 4 kB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.132e-05/0.01915, allocations: 15.98 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01916, allocations: 0 / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.01917, allocations: 7.938 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01918, allocations: 32 / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01918, allocations: 4 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.01966, allocations: 291.4 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.0197, allocations: 7.953 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.01973, allocations: 8 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.01987, allocations: 3.984 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.01992, allocations: 7.984 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.01994, allocations: 4 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002318/0.02017, allocations: 179.1 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02017, allocations: 0 / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005016/0.02067, allocations: 55.8 kB / 383.8 MB, free: 12.12 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.005041/0.02572, allocations: 0.5923 MB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003822/0.0261, allocations: 75.59 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.0261, allocations: 4 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.02626, allocations: 47.61 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.02683, allocations: 47.27 kB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007589/0.02759, allocations: 233.9 kB / 384.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.02775, allocations: 88.3 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.921e-05/0.02785, allocations: 16.64 kB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.02794, allocations: 32.48 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02794, allocations: 0 / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of Templates: time 0.0097/0.03764, allocations: 2.664 MB / 387.5 MB, free: 8.551 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.182410691981204]