Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.00192/0.00192, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00201/0.00201, allocations: 165.6 kB / 24.27 MB, free: 160 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.646/1.646, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.3537/0.3537, allocations: 34.28 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 377.4 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.374e-05, allocations: 6.25 kB / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003574/0.003607, allocations: 1.739 MB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.006567, allocations: 1.699 MB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/0.006641, allocations: 3.938 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.006929, allocations: 39.7 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.00732, allocations: 111.4 kB / 381 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.007545, allocations: 75.66 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.007742, allocations: 115.6 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.599e-05/0.007828, allocations: 7.984 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.007965, allocations: 63.77 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.008106, allocations: 35.89 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.008132, allocations: 4 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.008343, allocations: 99.88 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.008401, allocations: 19.92 kB / 381.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.008452, allocations: 19.92 kB / 381.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.008783, allocations: 179.3 kB / 381.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.008786, allocations: 4 kB / 381.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008787, allocations: 0 / 381.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.008792, allocations: 0 / 381.6 MB, free: 14.67 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.0007045/0.009496, allocations: 459.5 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.009529, allocations: 8.031 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.009588, allocations: 12.89 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.009848, allocations: 153 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.00986, allocations: 4.312 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.009882, allocations: 4.375 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.01008, allocations: 102.6 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.01009, allocations: 8 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.0101, allocations: 0 / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.0101, allocations: 0 / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/0.01019, allocations: 15.98 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.01063, allocations: 299.7 kB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.01082, allocations: 59.11 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.309e-05/0.01088, allocations: 23.67 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.0109, allocations: 4 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.01106, allocations: 73.05 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.01106, allocations: 4 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006043/0.01167, allocations: 185.5 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.01173, allocations: 77.11 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.01199, allocations: 230.9 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.01202, allocations: 25.7 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.01216, allocations: 150.9 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.01221, allocations: 23.8 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.12e-05/0.01229, allocations: 35.36 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002846/0.01258, allocations: 0.4961 MB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.01264, allocations: 23.94 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.01275, allocations: 80.75 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.01288, allocations: 67.42 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01288, allocations: 0 / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002356/0.01312, allocations: 113.5 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.01313, allocations: 4 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.01314, allocations: 0 / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.01315, allocations: 7.984 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.833e-05/0.01324, allocations: 12 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.01325, allocations: 3.938 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.555e-05/0.01331, allocations: 7.984 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.01332, allocations: 8.062 kB / 384.3 MB, free: 11.68 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.0001409/0.01346, allocations: 171.5 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.01349, allocations: 11.95 kB / 384.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.01376, allocations: 110.4 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01377, allocations: 7.938 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01377, allocations: 0 / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01377, allocations: 0 / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005616/0.01433, allocations: 409 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01433, allocations: 0 / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.01438, allocations: 12.03 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.01438, allocations: 4 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.01439, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.0144, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.0144, allocations: 3.984 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.01473, allocations: 275.4 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.01475, allocations: 7.953 kB / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.01478, allocations: 4 kB / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.01485, allocations: 4 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.01492, allocations: 15.91 kB / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.01493, allocations: 8 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.0151, allocations: 178.1 kB / 385.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0151, allocations: 3.938 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000328/0.01543, allocations: 47.86 kB / 385.5 MB, free: 10.35 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.003795/0.01922, allocations: 0.5878 MB / 386.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.0195, allocations: 71.59 kB / 386.2 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01951, allocations: 0 / 386.2 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.01986, allocations: 39.67 kB / 386.2 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.0203, allocations: 38.91 kB / 386.3 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.02092, allocations: 225.8 kB / 386.5 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.02105, allocations: 81.45 kB / 386.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.331e-05/0.02112, allocations: 21.39 kB / 386.6 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.02118, allocations: 24.48 kB / 386.6 MB, free: 9.457 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.02119, allocations: 4 kB / 386.6 MB, free: 9.453 MB / 362.7 MB Notification: Performance of Templates: time 0.006865/0.02805, allocations: 2.524 MB / 389.2 MB, free: 6.957 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.931923417956568]