Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001005/0.001005, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00106/0.00106, allocations: 161 kB / 24.56 MB, free: 16 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.063/1.063, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2974/0.2974, allocations: 34.24 MB / 295.7 MB, free: 0.7734 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.202e-05, allocations: 5.828 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003096/0.003118, allocations: 1.774 MB / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.004808, allocations: 1.001 MB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.004889, allocations: 4 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.005237, allocations: 55.69 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.005629, allocations: 103.5 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.005846, allocations: 79.59 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.006057, allocations: 111.6 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.006169, allocations: 7.984 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.006277, allocations: 51.84 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.518e-05/0.006362, allocations: 23.91 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.006382, allocations: 4 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.006495, allocations: 51.91 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.525e-05/0.00657, allocations: 31.86 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.006626, allocations: 23.88 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.006862, allocations: 115.6 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.006865, allocations: 0 / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006866, allocations: 0 / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.006871, allocations: 0 / 381.5 MB, free: 15.13 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.0005876/0.007458, allocations: 479.6 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.0075, allocations: 8.031 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.007562, allocations: 20.83 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.007781, allocations: 173.2 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.007801, allocations: 384 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.007824, allocations: 4.375 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.007975, allocations: 58.94 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.007988, allocations: 7.875 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.007999, allocations: 4 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.008008, allocations: 0 / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.008053, allocations: 15.97 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.008445, allocations: 295.8 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.008585, allocations: 51.11 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.638e-05/0.008632, allocations: 31.61 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.008645, allocations: 0 / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.008775, allocations: 65.05 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.008777, allocations: 0 / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000493/0.00927, allocations: 169.3 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.009311, allocations: 51.41 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.009546, allocations: 277.6 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.009564, allocations: 33.7 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.755e-05/0.009652, allocations: 162.9 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.009694, allocations: 31.78 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.009739, allocations: 27.36 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.009897, allocations: 0.504 MB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.278e-05/0.00993, allocations: 11.98 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.008e-05/0.00998, allocations: 35.31 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.94e-05/0.01006, allocations: 55.36 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.01006, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001557/0.01022, allocations: 97.53 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.01023, allocations: 9.969 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01024, allocations: 4.031 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01025, allocations: 0 / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/0.01035, allocations: 19.98 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.01035, allocations: 0 / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.969e-05/0.01039, allocations: 0 / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.0104, allocations: 4 kB / 384.2 MB, free: 12.24 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 9.944e-05/0.0105, allocations: 168.5 kB / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.01053, allocations: 19.89 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.01073, allocations: 111 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01073, allocations: 0 / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01074, allocations: 8 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01074, allocations: 0 / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.01114, allocations: 405 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01114, allocations: 4 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.01118, allocations: 8 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01119, allocations: 0 / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.0112, allocations: 8 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01121, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01121, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.01141, allocations: 259.4 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.01143, allocations: 19.91 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.01146, allocations: 3.984 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.01153, allocations: 4 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.01156, allocations: 8.359 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.01158, allocations: 4 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.01171, allocations: 200.5 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01171, allocations: 0 / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002879/0.012, allocations: 23.94 kB / 385.4 MB, free: 10.93 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.001252/0.01325, allocations: 452.7 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.0134, allocations: 43.67 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.0134, allocations: 4 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.558e-05/0.01345, allocations: 39.59 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.01379, allocations: 29.59 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.01425, allocations: 262.5 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.775e-05/0.01431, allocations: 71.33 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.41e-05/0.01436, allocations: 17.09 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.0144, allocations: 28.42 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.0144, allocations: 0 / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Templates: time 0.008137/0.02254, allocations: 2.028 MB / 388.4 MB, free: 8.102 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.167598763946444]