Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001997/0.001997, 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.002066/0.002066, allocations: 165.3 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.573/1.573, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3496/0.3496, allocations: 32.8 MB / 293.9 MB, free: 1.211 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.221e-05, allocations: 2.312 kB / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003383/0.003415, allocations: 1.746 MB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.005697, allocations: 0.9898 MB / 378.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.005768, allocations: 0 / 378.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.006074, allocations: 51.69 kB / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.006437, allocations: 95.53 kB / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.006659, allocations: 71.62 kB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.006872, allocations: 115.6 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.628e-05/0.006958, allocations: 4 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.007091, allocations: 63.75 kB / 378.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.409e-05/0.007175, allocations: 19.92 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.007198, allocations: 4 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.007317, allocations: 43.92 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.898e-05/0.007386, allocations: 27.91 kB / 378.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.007439, allocations: 19.92 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.007696, allocations: 119.6 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.007699, allocations: 0 / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0077, allocations: 0 / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.007706, allocations: 0 / 378.7 MB, free: 1.531 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.0006874/0.008393, allocations: 447.6 kB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.008431, allocations: 11.97 kB / 379.2 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.008491, allocations: 16.84 kB / 379.2 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.008769, allocations: 157.1 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.008786, allocations: 8.375 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.008806, allocations: 384 / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.008962, allocations: 54.23 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.008975, allocations: 3.938 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.008985, allocations: 4 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.008989, allocations: 0 / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.135e-05/0.009071, allocations: 15.98 kB / 379.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.009554, allocations: 303.7 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.009749, allocations: 63.16 kB / 379.8 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.382e-05/0.009812, allocations: 27.56 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.00983, allocations: 4 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.01, allocations: 76.98 kB / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.01, allocations: 0 / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006039/0.01061, allocations: 177.6 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.01067, allocations: 51.41 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.01093, allocations: 250.4 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.01095, allocations: 25.7 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.01107, allocations: 162.7 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.01112, allocations: 27.78 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.01118, allocations: 35.36 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002785/0.01146, allocations: 0.504 MB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.666e-05/0.01152, allocations: 16.19 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.28e-05/0.0116, allocations: 47.36 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.01174, allocations: 71.23 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01174, allocations: 0 / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002118/0.01195, allocations: 97.64 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.01197, allocations: 11.98 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.01197, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.01199, allocations: 3.938 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.9e-05/0.01208, allocations: 16.03 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.01209, allocations: 4 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.01214, allocations: 0 / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.01215, allocations: 7.984 kB / 381.4 MB, free: 14.65 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.0001376/0.01229, allocations: 164.5 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.01232, allocations: 19.91 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.0126, allocations: 119.2 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.0126, allocations: 0 / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01261, allocations: 0 / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.01261, allocations: 4 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.01318, allocations: 420.9 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.01318, allocations: 4 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.01323, allocations: 8 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01323, allocations: 0 / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.01324, allocations: 4 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01324, allocations: 7.938 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01324, allocations: 3.938 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.01357, allocations: 263.4 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.0136, allocations: 19.89 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.01363, allocations: 7.984 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.01369, allocations: 4.031 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.01374, allocations: 7.984 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.01376, allocations: 8 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.01392, allocations: 180.1 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01392, allocations: 0 / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.01418, allocations: 27.92 kB / 382.6 MB, free: 13.32 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.003433/0.01762, allocations: 496.9 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.01785, allocations: 71.53 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01785, allocations: 0 / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.01796, allocations: 43.59 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.01833, allocations: 30.64 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.01891, allocations: 233.9 kB / 383.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.01903, allocations: 100.4 kB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.641e-05/0.01909, allocations: 17.27 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.01913, allocations: 16.5 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01913, allocations: 0 / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Templates: time 0.005987/0.02512, allocations: 1.862 MB / 385.5 MB, free: 10.64 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.893436677055433]