Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001913/0.001913, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001945/0.001945, allocations: 165.3 kB / 24.28 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.587/1.587, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3819/0.3819, allocations: 34.27 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 377.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.967e-05, allocations: 2.312 kB / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003369/0.003399, allocations: 1.734 MB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.005424, allocations: 0.9976 MB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.774e-05/0.005492, allocations: 4 kB / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.005814, allocations: 55.62 kB / 380.2 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.006188, allocations: 99.58 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.006423, allocations: 79.55 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.006642, allocations: 111.6 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.251e-05/0.006724, allocations: 8 kB / 380.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.006851, allocations: 51.83 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.868e-05/0.00694, allocations: 31.84 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.006963, allocations: 4 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.007074, allocations: 47.91 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.007142, allocations: 27.92 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.007191, allocations: 15.94 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.007442, allocations: 127.5 kB / 380.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.007445, allocations: 0 / 380.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007446, allocations: 0 / 380.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.007451, allocations: 0 / 380.8 MB, free: 15.49 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006996/0.008151, allocations: 475.4 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.008186, allocations: 8.031 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.008248, allocations: 16.84 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.008521, allocations: 153.2 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.00854, allocations: 8.359 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.008557, allocations: 384 / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.008715, allocations: 58.17 kB / 381.5 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.008731, allocations: 7.875 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.00874, allocations: 4 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.008745, allocations: 0 / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.896e-05/0.008824, allocations: 19.98 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.009288, allocations: 303.8 kB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.009493, allocations: 63.11 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.009557, allocations: 27.61 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.009573, allocations: 0 / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.00974, allocations: 77 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.009742, allocations: 0 / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006253/0.01037, allocations: 185.3 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.01043, allocations: 51.41 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.01072, allocations: 275.1 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.01075, allocations: 33.7 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.01087, allocations: 158.9 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.01091, allocations: 27.84 kB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.01097, allocations: 31.38 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000309/0.01128, allocations: 0.504 MB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.01134, allocations: 20.36 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.972e-05/0.01142, allocations: 43.3 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.01155, allocations: 71.36 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.01156, allocations: 4 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002157/0.01177, allocations: 113.5 kB / 383.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.01179, allocations: 8 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01179, allocations: 0 / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.01181, allocations: 0 / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.0119, allocations: 15.98 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.01191, allocations: 0 / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.01195, allocations: 8 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.01196, allocations: 4 kB / 383.5 MB, free: 12.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 (10): * Single equations (assignments): 10 * 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.0001392/0.0121, allocations: 172.4 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.01214, allocations: 15.91 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.01242, allocations: 123.1 kB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.01243, allocations: 7.984 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01243, allocations: 0 / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01243, allocations: 0 / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/0.01299, allocations: 428.9 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.013, allocations: 0 / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.01304, allocations: 11.98 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.01305, allocations: 3.984 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.01306, allocations: 4 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01306, allocations: 0 / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01306, allocations: 4.031 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.0134, allocations: 275.4 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.01343, allocations: 11.94 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.01345, allocations: 0 / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.01353, allocations: 8 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.01357, allocations: 7.984 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.01359, allocations: 4 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.01377, allocations: 195.1 kB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01377, allocations: 4 kB / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002593/0.01403, allocations: 16 kB / 384.7 MB, free: 11.19 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 (9): * Single equations (assignments): 7 * 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.003461/0.01749, allocations: 0.4952 MB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.0177, allocations: 67.59 kB / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.0177, allocations: 0 / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.11e-05/0.0178, allocations: 39.89 kB / 385.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.01819, allocations: 49.28 kB / 385.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.01874, allocations: 249.4 kB / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.01886, allocations: 108.7 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.344e-05/0.01892, allocations: 12.97 kB / 385.8 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.01896, allocations: 20.56 kB / 385.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01896, allocations: 0 / 385.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of Templates: time 0.00572/0.02468, allocations: 1.874 MB / 387.6 MB, free: 8.457 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.963211692986079]