Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002545/0.002545, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002842/0.002842, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.608/1.608, allocations: 177 MB / 204.5 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3981/0.3981, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.029e-05, allocations: 2.312 kB / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003766/0.003796, allocations: 1.737 MB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.005818, allocations: 1.005 MB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.005894, allocations: 0 / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.006302, allocations: 87.7 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.006646, allocations: 111.5 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.006867, allocations: 79.66 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.007148, allocations: 119.6 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.00727, allocations: 15.91 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.007416, allocations: 59.89 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.007568, allocations: 67.73 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.007597, allocations: 4 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.007727, allocations: 39.98 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.238e-05/0.00782, allocations: 23.91 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.007892, allocations: 23.94 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.008181, allocations: 123.5 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.008185, allocations: 0 / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.008187, allocations: 0 / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.008193, allocations: 0 / 380.8 MB, free: 15.32 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.0007935/0.008986, allocations: 463.5 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/0.009053, allocations: 12.03 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.00912, allocations: 20.78 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.009384, allocations: 152.4 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.009402, allocations: 4.375 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.009427, allocations: 4.375 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.009575, allocations: 50.23 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.009588, allocations: 192 / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.009599, allocations: 4.375 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.009605, allocations: 3.938 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.959e-05/0.009685, allocations: 19.92 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.0102, allocations: 311.7 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.0104, allocations: 63.16 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.988e-05/0.01046, allocations: 19.69 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.01047, allocations: 0 / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.01065, allocations: 80.92 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.021e-06/0.01065, allocations: 0 / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006177/0.01126, allocations: 185.3 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.01132, allocations: 55.41 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.01162, allocations: 262.7 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.01164, allocations: 25.7 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.01176, allocations: 170.9 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.0118, allocations: 27.78 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.01185, allocations: 27.38 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002867/0.01214, allocations: 0.504 MB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.0122, allocations: 19.98 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.068e-05/0.01228, allocations: 43.36 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.01241, allocations: 63.3 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01241, allocations: 4 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.01261, allocations: 105.9 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.01263, allocations: 12.03 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01263, allocations: 0 / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.01265, allocations: 0 / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.01274, allocations: 23.92 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.01275, allocations: 160 / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.01279, allocations: 8 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.01281, allocations: 4 kB / 383.5 MB, free: 12.39 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.0001518/0.01296, allocations: 160.6 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.013, allocations: 23.83 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.01328, allocations: 123 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01328, allocations: 4 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01328, allocations: 4 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01329, allocations: 0 / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/0.01383, allocations: 417 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.01384, allocations: 3.984 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.01388, allocations: 12 kB / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01388, allocations: 3.938 kB / 384.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.01389, allocations: 0 / 384.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.0139, allocations: 7.938 kB / 384.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.0139, allocations: 0 / 384.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.01424, allocations: 275.4 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.01426, allocations: 11.94 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.01429, allocations: 4 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.01435, allocations: 4 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.01441, allocations: 11.97 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.01443, allocations: 4 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001882/0.01462, allocations: 193 kB / 384.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01462, allocations: 0 / 384.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003274/0.01495, allocations: 27.94 kB / 384.7 MB, free: 11.04 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.003424/0.01837, allocations: 478.6 kB / 385.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.01862, allocations: 79.39 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.01863, allocations: 3.938 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.01873, allocations: 39.61 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.01912, allocations: 38.59 kB / 385.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005761/0.0197, allocations: 240.6 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.01982, allocations: 96.8 kB / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.398e-05/0.01987, allocations: 17.28 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.01992, allocations: 24.48 kB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.093e-06/0.01992, allocations: 4 kB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.005994/0.02591, allocations: 1.861 MB / 387.6 MB, free: 8.312 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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: 5.159626597072929]