Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.002289/0.002289, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002422/0.002422, allocations: 169.3 kB / 24.28 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.599/1.599, 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.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.3487/0.3487, allocations: 32.8 MB / 293.9 MB, free: 1.199 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.029e-06/5.029e-06, allocations: 4 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.561e-05, allocations: 2.312 kB / 375.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003369/0.003405, allocations: 1.738 MB / 377.1 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.005468, allocations: 0.986 MB / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-05/0.00555, allocations: 11.94 kB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.005892, allocations: 47.73 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.006237, allocations: 107.4 kB / 378.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.00657, allocations: 75.67 kB / 378.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.006765, allocations: 115.6 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.006858, allocations: 8 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.006974, allocations: 51.84 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.08e-05/0.007055, allocations: 27.89 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.007079, allocations: 4 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.007188, allocations: 47.86 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.986e-05/0.007258, allocations: 31.84 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.007307, allocations: 19.94 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.007551, allocations: 131.5 kB / 378.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.007554, allocations: 0 / 378.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.007557, allocations: 7.984 kB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.007562, allocations: 0 / 378.7 MB, free: 1.469 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.0006829/0.008245, allocations: 479.3 kB / 379.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.008281, allocations: 12.03 kB / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.008344, allocations: 16.84 kB / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.008608, allocations: 165.2 kB / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.008622, allocations: 384 / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.008647, allocations: 8.375 kB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.0088, allocations: 50.23 kB / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.008817, allocations: 7.938 kB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.008827, allocations: 4 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.008834, allocations: 3.984 kB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.00891, allocations: 19.94 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.009386, allocations: 319.7 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.009569, allocations: 63.17 kB / 379.9 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.205e-05/0.009631, allocations: 23.61 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.009654, allocations: 8 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.009829, allocations: 68.98 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.557e-06/0.009833, allocations: 3.984 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006175/0.01045, allocations: 185.3 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.0105, allocations: 63.34 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.01081, allocations: 294.7 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.01084, allocations: 29.7 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.01097, allocations: 174.8 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.01101, allocations: 27.78 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.01107, allocations: 27.38 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002801/0.01135, allocations: 0.5079 MB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.01141, allocations: 23.98 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.771e-05/0.01149, allocations: 43.36 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.01163, allocations: 71.23 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01163, allocations: 4 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.01183, allocations: 101.6 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.01185, allocations: 8 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01185, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.01187, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.01196, allocations: 19.92 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01197, allocations: 4 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.01201, allocations: 0 / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.01202, allocations: 8 kB / 381.5 MB, free: 14.45 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.000134/0.01215, allocations: 168.5 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.01219, allocations: 19.89 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.01247, allocations: 127.2 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.01247, allocations: 0 / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01247, allocations: 0 / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01248, allocations: 0 / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.01305, allocations: 437.3 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01305, allocations: 0 / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.0131, allocations: 16 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.0131, allocations: 3.938 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.01311, allocations: 4.031 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.01312, allocations: 7.984 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.01312, allocations: 3.938 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.01344, allocations: 271.5 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.01347, allocations: 15.84 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.0135, allocations: 0 / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.01357, allocations: 8 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.01361, allocations: 7.984 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.01363, allocations: 4 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00019/0.01382, allocations: 208.5 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01382, allocations: 0 / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002555/0.01408, allocations: 31.92 kB / 382.8 MB, free: 13.05 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.003288/0.01737, allocations: 485.1 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.01759, allocations: 75.53 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01759, allocations: 3.938 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.254e-05/0.01768, allocations: 43.61 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.01809, allocations: 38.36 kB / 383.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/0.01866, allocations: 266.5 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.01878, allocations: 113.1 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.168e-05/0.01883, allocations: 21.39 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.01888, allocations: 16.5 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01888, allocations: 0 / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Templates: time 0.005959/0.02484, allocations: 1.885 MB / 385.8 MB, free: 10.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.030034902971238]