Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.002462/0.002462, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002788/0.002788, allocations: 161.3 kB / 24.27 MB, free: 152 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.582/1.582, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3559/0.3559, allocations: 34.27 MB / 295.3 MB, free: 0.6484 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 377.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.064e-05, allocations: 2.312 kB / 377.4 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00324/0.00327, allocations: 1.738 MB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.005336, allocations: 0.9937 MB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.895e-05/0.005405, allocations: 7.938 kB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.005683, allocations: 35.78 kB / 380.2 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.006034, allocations: 103.6 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.006251, allocations: 79.61 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.006454, allocations: 111.4 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.006549, allocations: 8 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.006678, allocations: 51.89 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.12e-05/0.006769, allocations: 31.84 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.006791, allocations: 4 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.006896, allocations: 47.92 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.006956, allocations: 19.92 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/0.007016, allocations: 23.91 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.007252, allocations: 115.6 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.007255, allocations: 0 / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.007259, allocations: 4 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.007263, allocations: 0 / 380.7 MB, free: 15.47 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.0005992/0.007862, allocations: 451.5 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.007895, allocations: 8.031 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.007952, allocations: 16.84 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.008184, allocations: 153.1 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.008199, allocations: 4.375 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.008222, allocations: 8.312 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.008358, allocations: 50.23 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.008371, allocations: 3.938 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.00838, allocations: 0 / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.008383, allocations: 0 / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.00846, allocations: 19.98 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.008892, allocations: 303.7 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.009081, allocations: 63.11 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/0.009145, allocations: 35.61 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.009163, allocations: 3.984 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.009321, allocations: 69.05 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.009322, allocations: 0 / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005863/0.009908, allocations: 173.4 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.009953, allocations: 51.41 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.01021, allocations: 254.4 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.01024, allocations: 29.7 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.01035, allocations: 158.8 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.01039, allocations: 23.8 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.01046, allocations: 39.36 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002733/0.01073, allocations: 0.5001 MB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.639e-05/0.01079, allocations: 15.94 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/0.01087, allocations: 47.67 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.011, allocations: 71.36 kB / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.011, allocations: 0 / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002168/0.01122, allocations: 109.6 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.01123, allocations: 4 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.01124, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.01125, allocations: 12.02 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.232e-05/0.01135, allocations: 12 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.01136, allocations: 3.938 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.01141, allocations: 8 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.01142, allocations: 0 / 383.4 MB, free: 12.59 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.0001371/0.01156, allocations: 172.5 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.01159, allocations: 15.91 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.01187, allocations: 119.1 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01187, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01187, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01188, allocations: 4 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/0.01244, allocations: 416.9 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01244, allocations: 0 / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.546e-05/0.01249, allocations: 11.98 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.0125, allocations: 4 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.01251, allocations: 0 / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01251, allocations: 0 / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01251, allocations: 0 / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.01285, allocations: 271.4 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.01288, allocations: 15.89 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.01291, allocations: 8.031 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.01298, allocations: 4 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.01303, allocations: 7.984 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.01305, allocations: 4 kB / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.01322, allocations: 180.1 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01323, allocations: 0 / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002792/0.0135, allocations: 35.86 kB / 384.6 MB, free: 11.26 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.003411/0.01692, allocations: 494 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.01714, allocations: 71.59 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.01715, allocations: 4 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.854e-05/0.01724, allocations: 35.83 kB / 385.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.01761, allocations: 32.12 kB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.01812, allocations: 234 kB / 385.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.01824, allocations: 100.3 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.907e-05/0.01829, allocations: 8.984 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.01833, allocations: 20.48 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01833, allocations: 0 / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of Templates: time 0.005782/0.02412, allocations: 1.866 MB / 387.5 MB, free: 8.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.910008484963328]