Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001958/0.001958, 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.002077/0.002077, allocations: 165.6 kB / 24.27 MB, free: 156 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.52/1.52, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.3315/0.3315, allocations: 32.8 MB / 293.9 MB, free: 1.18 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.235e-05, allocations: 10.25 kB / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003432/0.003465, allocations: 1.738 MB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.005595, allocations: 0.9898 MB / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.005672, allocations: 0 / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.006041, allocations: 87.61 kB / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.006419, allocations: 123.4 kB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.00664, allocations: 75.67 kB / 378.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.006864, allocations: 115.6 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.019e-05/0.006954, allocations: 11.94 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.007089, allocations: 71.8 kB / 378.6 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.007206, allocations: 51.88 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.007232, allocations: 4 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.007338, allocations: 43.92 kB / 378.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.007406, allocations: 27.84 kB / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.007459, allocations: 27.92 kB / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.007692, allocations: 119.6 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.007696, allocations: 0 / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007697, allocations: 0 / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.007703, allocations: 0 / 378.8 MB, free: 1.402 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.0006743/0.008377, allocations: 467.4 kB / 379.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.008418, allocations: 8.031 kB / 379.3 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.144e-05/0.008489, allocations: 20.84 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.00875, allocations: 152.4 kB / 379.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.008767, allocations: 4.375 kB / 379.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.008787, allocations: 4.375 kB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.008932, allocations: 54.23 kB / 379.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.008947, allocations: 3.938 kB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.008957, allocations: 4 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.008962, allocations: 0 / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.876e-05/0.00904, allocations: 15.98 kB / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007576/0.009798, allocations: 307.7 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.009987, allocations: 59.17 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.18e-05/0.01005, allocations: 27.61 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.01006, allocations: 4 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.01024, allocations: 73.05 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.01024, allocations: 3.938 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006002/0.01084, allocations: 177.6 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.0109, allocations: 63.34 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.01118, allocations: 262.7 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.0112, allocations: 25.7 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.01132, allocations: 166.8 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.01136, allocations: 27.78 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.01141, allocations: 31.38 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002689/0.01168, allocations: 0.504 MB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.01174, allocations: 24.05 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.987e-05/0.01182, allocations: 47.36 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.01194, allocations: 63.25 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01194, allocations: 4 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002113/0.01215, allocations: 101.6 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.01217, allocations: 8 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.01217, allocations: 3.938 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.01219, allocations: 3.984 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.01228, allocations: 19.92 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01229, allocations: 4.031 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.01233, allocations: 4 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.01234, allocations: 8 kB / 381.5 MB, free: 14.46 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.0001333/0.01248, allocations: 164.5 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.01251, allocations: 15.91 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.01278, allocations: 123.2 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01278, allocations: 0 / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01279, allocations: 4 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.01279, allocations: 3.984 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.01335, allocations: 420.9 kB / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01335, allocations: 0 / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.784e-05/0.0134, allocations: 19.98 kB / 382.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.0134, allocations: 0 / 382.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.01341, allocations: 0 / 382.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.01342, allocations: 4 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.01342, allocations: 3.938 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.01374, allocations: 267.5 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.01376, allocations: 7.953 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.01379, allocations: 7.938 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.01386, allocations: 3.984 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.0139, allocations: 16.02 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.01392, allocations: 4 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.01411, allocations: 193 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01411, allocations: 0 / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002577/0.01437, allocations: 31.92 kB / 382.8 MB, free: 13.12 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.003334/0.0177, allocations: 491.3 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.01795, allocations: 79.52 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.01795, allocations: 0 / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.675e-05/0.01805, allocations: 43.61 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.01843, allocations: 26.33 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.019, allocations: 248.6 kB / 383.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.01912, allocations: 100.9 kB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.01917, allocations: 17.27 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/0.01922, allocations: 16.5 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01922, allocations: 0 / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of Templates: time 0.005792/0.02501, allocations: 1.878 MB / 385.7 MB, free: 10.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.088164950022474]