Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001881/0.001881, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.001934/0.001934, allocations: 161.3 kB / 24.27 MB, free: 136 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.571/1.571, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3595/0.3595, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.258e-05/3.418e-05, allocations: 6.25 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003413/0.003447, allocations: 1.735 MB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.005487, allocations: 1.002 MB / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.005556, allocations: 0 / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.005883, allocations: 59.69 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.006234, allocations: 103.5 kB / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.006451, allocations: 79.61 kB / 378.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.00665, allocations: 103.7 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.006733, allocations: 4 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.006861, allocations: 63.75 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.582e-05/0.006947, allocations: 23.92 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.006971, allocations: 4 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.007076, allocations: 47.92 kB / 378.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.458e-05/0.007151, allocations: 35.84 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.007201, allocations: 19.92 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.007455, allocations: 127.5 kB / 378.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.00746, allocations: 4 kB / 378.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.007461, allocations: 0 / 378.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.007466, allocations: 0 / 378.7 MB, free: 1.48 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.0006828/0.008149, allocations: 487.2 kB / 379.2 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.008183, allocations: 8.031 kB / 379.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.008244, allocations: 20.83 kB / 379.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.008512, allocations: 161.3 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.00853, allocations: 8.375 kB / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.008549, allocations: 384 / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.008966, allocations: 50.23 kB / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.008979, allocations: 3.938 kB / 379.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.008994, allocations: 4 kB / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.009, allocations: 7.938 kB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.473e-05/0.009075, allocations: 19.91 kB / 379.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.009536, allocations: 315.8 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.009736, allocations: 67.16 kB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.149e-05/0.009797, allocations: 27.62 kB / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.009812, allocations: 0 / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.00997, allocations: 72.98 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.009971, allocations: 0 / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006034/0.01057, allocations: 189.2 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.01062, allocations: 51.41 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.01094, allocations: 294.7 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.01097, allocations: 33.7 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.0111, allocations: 178.8 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.01114, allocations: 23.8 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.01119, allocations: 31.38 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002879/0.01148, allocations: 0.5118 MB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.77e-05/0.01154, allocations: 16 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/0.01162, allocations: 43.36 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.01176, allocations: 75.22 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01176, allocations: 0 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002153/0.01197, allocations: 109.5 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.01199, allocations: 6.031 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.01199, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.01201, allocations: 8.031 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.0121, allocations: 12.38 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.0121, allocations: 0 / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.01215, allocations: 11.98 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.01216, allocations: 4 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.0001388/0.0123, allocations: 168.5 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.01233, allocations: 15.91 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.01262, allocations: 123.2 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.01262, allocations: 4 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01263, allocations: 0 / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01263, allocations: 4 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005856/0.01322, allocations: 436.9 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01322, allocations: 0 / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.01326, allocations: 19.86 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01327, allocations: 0 / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.01328, allocations: 4 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01328, allocations: 0 / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01328, allocations: 0 / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.01364, allocations: 275.4 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.01366, allocations: 11.91 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.01369, allocations: 12.02 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.01376, allocations: 4 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.01381, allocations: 7.984 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.01382, allocations: 4 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001962/0.01402, allocations: 208.5 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01402, allocations: 0 / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.01428, allocations: 27.94 kB / 382.8 MB, free: 13.07 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.003354/0.01763, allocations: 495 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.01784, allocations: 71.48 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01784, allocations: 0 / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.896e-05/0.01793, allocations: 39.61 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.01829, allocations: 31.75 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.01888, allocations: 274.6 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.019, allocations: 105.1 kB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.642e-05/0.01906, allocations: 25.25 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.0191, allocations: 16.5 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0191, allocations: 0 / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of Templates: time 0.00565/0.02475, allocations: 1.89 MB / 385.8 MB, free: 10.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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: 4.9961034370353445]