Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001929/0.001929, allocations: 95.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.001996/0.001996, 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.548/1.548, allocations: 177.1 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.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.3885/0.3885, allocations: 34.26 MB / 295.3 MB, free: 0.6484 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.034e-05, allocations: 2.312 kB / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003291/0.003322, allocations: 1.734 MB / 379.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.005308, allocations: 1.001 MB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.00537, allocations: 4 kB / 380.1 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.005625, allocations: 35.72 kB / 380.1 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.005957, allocations: 99.58 kB / 380.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.006175, allocations: 83.59 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.00636, allocations: 107.6 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.006444, allocations: 11.98 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.006559, allocations: 51.78 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/0.006637, allocations: 27.89 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.006658, allocations: 4 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.006758, allocations: 43.92 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.006815, allocations: 23.88 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.006865, allocations: 23.91 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.007096, allocations: 111.6 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.007099, allocations: 0 / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.0071, allocations: 0 / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.007104, allocations: 8 kB / 380.7 MB, free: 15.48 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.000787/0.007891, allocations: 443.5 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.007927, allocations: 12.03 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.007981, allocations: 8.891 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.008225, allocations: 152.4 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.008242, allocations: 8.312 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.008258, allocations: 384 / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.008407, allocations: 54.23 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.00842, allocations: 3.938 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.00843, allocations: 4 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.008433, allocations: 4 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.489e-05/0.008508, allocations: 19.92 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.008932, allocations: 295.8 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.009115, allocations: 59.17 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.009178, allocations: 27.61 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.009194, allocations: 0 / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.009368, allocations: 76.98 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.009369, allocations: 0 / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005877/0.009957, allocations: 181.3 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.01001, allocations: 55.41 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.01027, allocations: 250.5 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.01029, allocations: 29.7 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.0104, allocations: 146.9 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.01044, allocations: 31.84 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.0105, allocations: 23.38 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002802/0.01078, allocations: 0.5001 MB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.23e-05/0.01084, allocations: 19.98 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.358e-05/0.01092, allocations: 43.36 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.01106, allocations: 75.3 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-06/0.01106, allocations: 4 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002183/0.01128, allocations: 105.6 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.01129, allocations: 8 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.0113, allocations: 384 / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.01131, allocations: 0 / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.0114, allocations: 15.98 kB / 383.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.01141, allocations: 8 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.01146, allocations: 3.953 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.01147, allocations: 4 kB / 383.4 MB, free: 12.63 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.0001382/0.01161, allocations: 172.5 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.01164, allocations: 15.98 kB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.01191, allocations: 115.1 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01191, allocations: 3.938 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01191, allocations: 0 / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.01192, allocations: 7.984 kB / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005593/0.01248, allocations: 412.9 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01248, allocations: 0 / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.01253, allocations: 11.94 kB / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.01253, allocations: 4 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.01255, allocations: 3.984 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01255, allocations: 4.031 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.01255, allocations: 4 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.01287, allocations: 267.4 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.01289, allocations: 11.91 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.01292, allocations: 4 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.01299, allocations: 4 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.01303, allocations: 7.984 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.01306, allocations: 4 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.01321, allocations: 179.8 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01321, allocations: 0 / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.01347, allocations: 28 kB / 384.6 MB, free: 11.31 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.003354/0.01682, allocations: 495.1 kB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.01705, allocations: 67.59 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01705, allocations: 4.062 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.453e-05/0.01714, allocations: 43.77 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.0175, allocations: 28.11 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/0.01803, allocations: 226.3 kB / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.01813, allocations: 92.3 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.492e-05/0.01819, allocations: 25.03 kB / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.01823, allocations: 12.5 kB / 385.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01823, allocations: 4 kB / 385.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Templates: time 0.00572/0.02395, allocations: 1.862 MB / 387.4 MB, free: 8.648 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.924654248054139]