Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001216/0.001216, 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.001273/0.001273, allocations: 165.4 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 0.9654/0.9654, allocations: 177.2 MB / 205 MB, free: 5.281 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.2352/0.2352, allocations: 32.81 MB / 294.3 MB, free: 1.223 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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.072e-05, allocations: 9.344 kB / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002146/0.002167, allocations: 1.778 MB / 377.9 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003315, allocations: 1.005 MB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.925e-05/0.003384, allocations: 4 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.003647, allocations: 39.72 kB / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.003923, allocations: 95.47 kB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.00409, allocations: 83.59 kB / 379.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.004236, allocations: 103.7 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.833e-05/0.004314, allocations: 7.984 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.674e-05/0.004391, allocations: 55.78 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.25e-05/0.004464, allocations: 31.89 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.004478, allocations: 4 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.438e-05/0.004553, allocations: 43.92 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.0046, allocations: 23.92 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.004635, allocations: 19.92 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.004794, allocations: 99.59 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.004796, allocations: 0 / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004797, allocations: 0 / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.0048, allocations: 0 / 379.5 MB, free: 1.168 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.0004308/0.005231, allocations: 447.9 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.005263, allocations: 8.031 kB / 379.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.005307, allocations: 8.891 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.005466, allocations: 152.4 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.005484, allocations: 8.375 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.005502, allocations: 4.359 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.005614, allocations: 62.94 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.005624, allocations: 3.938 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.005632, allocations: 0 / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.00564, allocations: 4 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.211e-05/0.005672, allocations: 11.94 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.005942, allocations: 283.8 kB / 380.5 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.006047, allocations: 47.17 kB / 380.5 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.006094, allocations: 27.88 kB / 380.5 MB, free: 16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.006105, allocations: 7.875 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.927e-05/0.006204, allocations: 68.98 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.006205, allocations: 0 / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003812/0.006587, allocations: 157.3 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.006618, allocations: 51.41 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.006741, allocations: 230.6 kB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.006754, allocations: 29.7 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.006806, allocations: 150.9 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.006832, allocations: 23.8 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.006864, allocations: 35.36 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.006968, allocations: 0.4962 MB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/0.006992, allocations: 8 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.007026, allocations: 35.36 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.405e-05/0.00708, allocations: 51.3 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007083, allocations: 4.312 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.753e-05/0.00718, allocations: 93.52 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.007191, allocations: 4 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.007195, allocations: 0 / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.007209, allocations: 12.03 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.007274, allocations: 15.98 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.007279, allocations: 0 / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.007307, allocations: 8 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.007312, allocations: 0 / 382 MB, free: 14.43 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.78e-05/0.00738, allocations: 164.5 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.007394, allocations: 11.95 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.007531, allocations: 111.2 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007533, allocations: 0 / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.007536, allocations: 0 / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.00754, allocations: 7.984 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.007796, allocations: 392.9 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007797, allocations: 0 / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.007824, allocations: 15.92 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.007827, allocations: 4 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.007834, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007835, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007836, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.007966, allocations: 263.4 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.007978, allocations: 11.94 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.007994, allocations: 8 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.803e-05/0.008032, allocations: 3.984 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.008061, allocations: 11.98 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.008073, allocations: 4 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.008148, allocations: 163.9 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008148, allocations: 0 / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.008324, allocations: 27.88 kB / 383.2 MB, free: 13.17 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.0009482/0.009272, allocations: 433.7 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.009396, allocations: 55.61 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009398, allocations: 0 / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.009436, allocations: 35.61 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.009651, allocations: 24.28 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.009978, allocations: 218.3 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.778e-05/0.01002, allocations: 63.34 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.253e-05/0.01005, allocations: 21.08 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.01008, allocations: 16.5 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01008, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003397/0.01348, allocations: 2.012 MB / 386 MB, free: 10.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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: 2.9991027181968093]