Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001089/0.001089, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001464/0.001464, 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.013/1.013, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2865/0.2865, allocations: 32.8 MB / 294.3 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.246e-05, allocations: 2.312 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002252/0.002274, allocations: 1.77 MB / 377.9 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.003509, allocations: 1.009 MB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.003586, allocations: 3.938 kB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.003857, allocations: 35.77 kB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.004135, allocations: 103.4 kB / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.004275, allocations: 75.67 kB / 379.1 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.004416, allocations: 107.6 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.152e-05/0.004498, allocations: 11.98 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.48e-05/0.004573, allocations: 51.84 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.004645, allocations: 23.91 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.004662, allocations: 8 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.793e-05/0.00474, allocations: 43.92 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.004789, allocations: 27.84 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.004827, allocations: 23.86 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.004991, allocations: 99.66 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.004993, allocations: 0 / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004994, allocations: 0 / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.004998, allocations: 0 / 379.5 MB, free: 1.172 MB / 346.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.0004181/0.005416, allocations: 443.9 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.005448, allocations: 12.03 kB / 379.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.005489, allocations: 12.84 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.005644, allocations: 169 kB / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.005661, allocations: 384 / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.005684, allocations: 4.375 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.005794, allocations: 58.94 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.005805, allocations: 3.938 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.005815, allocations: 0 / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.005823, allocations: 4 kB / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.106e-05/0.005854, allocations: 11.92 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.006131, allocations: 287.8 kB / 380.5 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.006231, allocations: 63.11 kB / 380.5 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.006271, allocations: 19.61 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.006287, allocations: 0 / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.457e-05/0.006382, allocations: 69.05 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 7.12e-07/0.006382, allocations: 0 / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003656/0.006748, allocations: 149.4 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.006777, allocations: 55.41 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.006908, allocations: 234.3 kB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.00692, allocations: 33.64 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.006972, allocations: 154.9 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.006998, allocations: 23.8 kB / 381.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.00703, allocations: 31.36 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.007133, allocations: 0.4962 MB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.007157, allocations: 12 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.00719, allocations: 35.34 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/0.007245, allocations: 55.3 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.007246, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.887e-05/0.007344, allocations: 89.53 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.007356, allocations: 8.031 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.00736, allocations: 384 / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.007375, allocations: 7.984 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.937e-05/0.007445, allocations: 19.92 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.00745, allocations: 4 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.007477, allocations: 8 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.007483, allocations: 0 / 382 MB, free: 14.41 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 6.79e-05/0.007551, allocations: 167.8 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.007566, allocations: 11.95 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.007709, allocations: 111.2 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007711, allocations: 4 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.007714, allocations: 0 / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.007717, allocations: 0 / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.008009, allocations: 396.9 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.00801, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.008038, allocations: 12 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.00804, allocations: 3.938 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.008049, allocations: 4 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.008052, allocations: 4 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008053, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.008182, allocations: 259.5 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.286e-05/0.008195, allocations: 15.89 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.00821, allocations: 0 / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.928e-05/0.00825, allocations: 8 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.00828, allocations: 7.922 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.00829, allocations: 4 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.905e-05/0.008359, allocations: 172.1 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008359, allocations: 0 / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.008523, allocations: 27.92 kB / 383.2 MB, free: 13.15 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.000958/0.009481, allocations: 442.5 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.009592, allocations: 55.59 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009593, allocations: 0 / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.009631, allocations: 27.69 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.009856, allocations: 38.72 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.01016, allocations: 214 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.0102, allocations: 71.33 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.157e-05/0.01023, allocations: 17.41 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.01027, allocations: 24.48 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01027, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of Templates: time 0.003392/0.01366, allocations: 1.866 MB / 385.9 MB, free: 10.53 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.2916616778820753]