Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001293/0.001293, allocations: 81.97 kB / 22.21 MB, free: 2.289 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: 163.9 kB / 25.61 MB, free: 8.582 MB / 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 0.9602/0.9602, allocations: 177.2 MB / 206.1 MB, free: 4.473 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.1539/0.1539, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.543e-05, allocations: 6.25 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004617/0.004643, allocations: 1.743 MB / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.006437, allocations: 1.718 MB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.585e-05/0.006523, allocations: 0 / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.006802, allocations: 39.72 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.007135, allocations: 103.5 kB / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.007358, allocations: 83.48 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.007518, allocations: 123.6 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.101e-05/0.007599, allocations: 4 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/0.007685, allocations: 63.81 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.007788, allocations: 39.89 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.007805, allocations: 8 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.007978, allocations: 103.8 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.008023, allocations: 23.86 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.008057, allocations: 27.92 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.008304, allocations: 175.4 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.008307, allocations: 0 / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008308, allocations: 0 / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.008312, allocations: 0 / 383.6 MB, free: 19.05 MB / 314.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.0004054/0.008717, allocations: 463.6 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.008754, allocations: 8.031 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.008804, allocations: 16.84 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.008963, allocations: 159.2 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.00898, allocations: 384 / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.008998, allocations: 4.375 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.009143, allocations: 116 kB / 384.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.009156, allocations: 7.875 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.009166, allocations: 3.984 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.009172, allocations: 0 / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.035e-05/0.009212, allocations: 15.97 kB / 384.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.009468, allocations: 264.4 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.009586, allocations: 59.16 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.009614, allocations: 23.61 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.009627, allocations: 4 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.009728, allocations: 72.94 kB / 384.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.009729, allocations: 0 / 384.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003693/0.0101, allocations: 153.4 kB / 385 MB, free: 17.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.01013, allocations: 85.11 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.702e-05/0.01022, allocations: 210.5 kB / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.01023, allocations: 37.62 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.01027, allocations: 142.9 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.0103, allocations: 27.83 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.01033, allocations: 27.38 kB / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.01038, allocations: 0.4962 MB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.0104, allocations: 19.92 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.023e-05/0.01044, allocations: 68.75 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.0105, allocations: 51.34 kB / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.0105, allocations: 0 / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001256/0.01062, allocations: 105.4 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01064, allocations: 4 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01064, allocations: 0 / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.01065, allocations: 4 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/0.01073, allocations: 15.98 kB / 386.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.01074, allocations: 8.062 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.782e-05/0.01077, allocations: 0 / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.01078, allocations: 4 kB / 386.3 MB, free: 16.17 MB / 314.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 6.132e-05/0.01084, allocations: 164.5 kB / 386.4 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.01087, allocations: 27.83 kB / 386.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.01103, allocations: 110.3 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01104, allocations: 0 / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.01104, allocations: 0 / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01104, allocations: 0 / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.01132, allocations: 385.6 kB / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.01132, allocations: 4 kB / 386.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.01136, allocations: 15.94 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01136, allocations: 4 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.01137, allocations: 0 / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.01137, allocations: 7.984 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01138, allocations: 0 / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.01152, allocations: 267.4 kB / 387.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.01154, allocations: 7.953 kB / 387.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.01156, allocations: 4 kB / 387.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.578e-05/0.01162, allocations: 12.02 kB / 387.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.01165, allocations: 11.92 kB / 387.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.01167, allocations: 4 kB / 387.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.4e-05/0.01172, allocations: 160.7 kB / 387.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01172, allocations: 0 / 387.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.01202, allocations: 47.86 kB / 387.5 MB, free: 14.89 MB / 314.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.001285/0.01331, allocations: 0.5356 MB / 388 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.01344, allocations: 63.52 kB / 388.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01344, allocations: 0 / 388.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.01348, allocations: 39.67 kB / 388.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.01377, allocations: 35.91 kB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.0141, allocations: 215.8 kB / 388.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.244e-05/0.01413, allocations: 71.2 kB / 388.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.547e-05/0.01418, allocations: 24.61 kB / 388.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.01427, allocations: 98.17 kB / 388.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01427, allocations: 4 kB / 388.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of Templates: time 0.004805/0.01907, allocations: 2.972 MB / 391.5 MB, free: 11.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.0539596239104867]