Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001077/0.001077, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001221/0.001221, 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.028/1.028, allocations: 177.1 MB / 205 MB, free: 5.621 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.298/0.298, allocations: 32.81 MB / 294.3 MB, free: 1.195 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 376.1 MB, free: 4.535 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.117e-05, allocations: 2.312 kB / 376.1 MB, free: 4.531 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003457/0.003488, allocations: 1.766 MB / 377.9 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.005311, allocations: 1.009 MB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.005411, allocations: 4 kB / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.005772, allocations: 55.67 kB / 378.9 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.006138, allocations: 103.5 kB / 379 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.006392, allocations: 79.59 kB / 379.1 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.006634, allocations: 107.6 kB / 379.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.00677, allocations: 7.984 kB / 379.2 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.006897, allocations: 59.77 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.586e-05/0.006993, allocations: 23.91 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.007015, allocations: 4 kB / 379.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.007145, allocations: 51.91 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.862e-05/0.007233, allocations: 31.86 kB / 379.4 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.007293, allocations: 19.94 kB / 379.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.007594, allocations: 123.4 kB / 379.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.0076, allocations: 4 kB / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.007601, allocations: 0 / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.007612, allocations: 0 / 379.5 MB, free: 1.07 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.0007584/0.00837, allocations: 475.6 kB / 380 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.008427, allocations: 12.03 kB / 380 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.032e-05/0.008507, allocations: 16.84 kB / 380 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.008829, allocations: 169.3 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.008858, allocations: 384 / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.008892, allocations: 8.375 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.009086, allocations: 58.94 kB / 380.3 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.009108, allocations: 11.88 kB / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.009121, allocations: 0 / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.009132, allocations: 0 / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.282e-05/0.009185, allocations: 15.98 kB / 380.3 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.009737, allocations: 295.8 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.009905, allocations: 55.16 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.009953, allocations: 27.55 kB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.009975, allocations: 8 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.01013, allocations: 65.05 kB / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.01014, allocations: 0 / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.01071, allocations: 165.2 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.01076, allocations: 55.41 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.011, allocations: 285.8 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.01102, allocations: 29.7 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.01111, allocations: 162.9 kB / 381.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.01115, allocations: 31.77 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.0112, allocations: 27.38 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.01136, allocations: 0.5079 MB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.0114, allocations: 11.98 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.175e-05/0.01145, allocations: 39.3 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.04e-05/0.01153, allocations: 47.31 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01153, allocations: 0 / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001608/0.01169, allocations: 97.91 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.01171, allocations: 7.984 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.01172, allocations: 0 / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.01174, allocations: 4.031 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.01184, allocations: 20 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01185, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.01189, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.0119, allocations: 7.984 kB / 382.2 MB, free: 14.17 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.0001026/0.012, allocations: 168.5 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.01204, allocations: 19.86 kB / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.01225, allocations: 111.3 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01226, allocations: 3.938 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.01226, allocations: 4 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.01227, allocations: 4 kB / 382.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.01271, allocations: 409 kB / 382.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01271, allocations: 0 / 382.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.01276, allocations: 8 kB / 382.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01276, allocations: 0 / 382.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.01278, allocations: 11.92 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01278, allocations: 0 / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01278, allocations: 0 / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.01301, allocations: 263.4 kB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.01303, allocations: 11.91 kB / 383.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.01306, allocations: 8.031 kB / 383.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.01314, allocations: 4 kB / 383.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.01318, allocations: 7.984 kB / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.0132, allocations: 8 kB / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.01336, allocations: 204.5 kB / 383.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01336, allocations: 0 / 383.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002947/0.01366, allocations: 27.94 kB / 383.5 MB, free: 12.84 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.001366/0.01502, allocations: 438.2 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.01519, allocations: 55.66 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01519, allocations: 0 / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.176e-05/0.01525, allocations: 39.59 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.01561, allocations: 34.69 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.01616, allocations: 266.7 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.37e-05/0.01624, allocations: 79.31 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.593e-05/0.01629, allocations: 17.09 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.01634, allocations: 20.48 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01634, allocations: 3.938 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of Templates: time 0.005331/0.02167, allocations: 1.892 MB / 386.3 MB, free: 10.14 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.515770473983139]