Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001013/0.001013, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001044/0.001044, allocations: 161.1 kB / 24.99 MB, free: 9.316 MB / 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2654/0.2654, allocations: 34.26 MB / 296 MB, free: 0.7773 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378.1 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.783e-05, allocations: 2.312 kB / 378.1 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002095/0.002112, allocations: 1.754 MB / 379.9 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.003306, allocations: 1.004 MB / 380.9 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.00339, allocations: 3.938 kB / 380.9 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.003684, allocations: 35.77 kB / 380.9 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.003968, allocations: 103.5 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.004121, allocations: 75.67 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.004273, allocations: 111.6 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.3e-05/0.004366, allocations: 7.938 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.004446, allocations: 55.88 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.071e-05/0.004517, allocations: 23.92 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.004532, allocations: 4 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.639e-05/0.004608, allocations: 47.91 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.00466, allocations: 27.8 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.004698, allocations: 19.92 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.004865, allocations: 91.66 kB / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004867, allocations: 4 kB / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004868, allocations: 0 / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004872, allocations: 0 / 381.5 MB, free: 15.49 MB / 362.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.0004372/0.005309, allocations: 439.9 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.005344, allocations: 12.03 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.005389, allocations: 12.88 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.005551, allocations: 159.3 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.005568, allocations: 384 / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.005587, allocations: 4.375 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.005696, allocations: 58.94 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.005705, allocations: 11.88 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.005714, allocations: 4 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.005721, allocations: 0 / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/0.005757, allocations: 15.98 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.006026, allocations: 275.8 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.006127, allocations: 55.09 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.006158, allocations: 23.62 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.006169, allocations: 0 / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.00627, allocations: 69 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.006271, allocations: 4 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003645/0.006636, allocations: 153.4 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.006668, allocations: 55.39 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.006798, allocations: 214.5 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.006814, allocations: 33.64 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.006876, allocations: 150.9 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.006986, allocations: 23.8 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.007018, allocations: 27.38 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.007132, allocations: 0.4884 MB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/0.007159, allocations: 19.98 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-05/0.007196, allocations: 35.36 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.998e-05/0.007256, allocations: 55.38 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.007257, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001035/0.007361, allocations: 89.52 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.007374, allocations: 8 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.00738, allocations: 0 / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.007394, allocations: 0 / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.007466, allocations: 19.92 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.007473, allocations: 4 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.0075, allocations: 12.02 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.007507, allocations: 4 kB / 384 MB, free: 12.77 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 7.769e-05/0.007584, allocations: 164.5 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.007599, allocations: 11.95 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.007745, allocations: 102.4 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.007747, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.00775, allocations: 4 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.007755, allocations: 0 / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.008026, allocations: 392.9 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008027, allocations: 4.031 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.008053, allocations: 12.38 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.008055, allocations: 0 / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.008063, allocations: 3.984 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.008066, allocations: 4 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008067, allocations: 4 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.008209, allocations: 255.4 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.008218, allocations: 3.953 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.008237, allocations: 8 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.844e-05/0.008275, allocations: 0 / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.008309, allocations: 11.92 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.008322, allocations: 8 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.875e-05/0.00839, allocations: 167.9 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00839, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000175/0.008565, allocations: 31.92 kB / 385.1 MB, free: 11.52 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.001037/0.009602, allocations: 432.2 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.009722, allocations: 55.59 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.009724, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.906e-05/0.009763, allocations: 27.81 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.01, allocations: 50.77 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.01041, allocations: 202.4 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.312e-05/0.01046, allocations: 67.34 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.903e-05/0.0105, allocations: 12.97 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.01054, allocations: 20.5 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01054, allocations: 0 / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.003552/0.01409, allocations: 1.859 MB / 387.8 MB, free: 8.934 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.1370481920894235]