Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002121/0.002121, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00179/0.00179, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3798/0.3798, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.242e-05, allocations: 2.312 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.005061/0.005094, allocations: 1.73 MB / 379 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.007983, allocations: 0.9814 MB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.999e-05/0.008083, allocations: 0 / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.008449, allocations: 39.7 kB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.008977, allocations: 99.53 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.009352, allocations: 83.59 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.009637, allocations: 107.6 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.009734, allocations: 12 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.009903, allocations: 47.89 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.01001, allocations: 31.84 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.01003, allocations: 4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.01019, allocations: 47.91 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.01028, allocations: 19.92 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.746e-05/0.01035, allocations: 15.94 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.0107, allocations: 123.5 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.01071, allocations: 7.938 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.01071, allocations: 0 / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.01072, allocations: 0 / 380.6 MB, free: 15.45 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.0007895/0.0115, allocations: 337.6 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.01156, allocations: 12.03 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.615e-05/0.01164, allocations: 12.84 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.01209, allocations: 154.3 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.01212, allocations: 4.375 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.01215, allocations: 4.312 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.01239, allocations: 58.23 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.01241, allocations: 4.188 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.01242, allocations: 384 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.01243, allocations: 3.938 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.01256, allocations: 19.98 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.01315, allocations: 236.5 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.01345, allocations: 62.61 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.01355, allocations: 20.84 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.01358, allocations: 0 / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.01382, allocations: 75.33 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.01382, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009581/0.01478, allocations: 181.4 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.01485, allocations: 55.41 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.01522, allocations: 206.6 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.01525, allocations: 25.7 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.01537, allocations: 104.1 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.01543, allocations: 31.72 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.0155, allocations: 21.72 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002442/0.01574, allocations: 326.8 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.01585, allocations: 27.98 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.01598, allocations: 37.7 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.01619, allocations: 61.7 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01619, allocations: 0 / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003409/0.01653, allocations: 113.5 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.01655, allocations: 4 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.01656, allocations: 4 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.01658, allocations: 0 / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.01668, allocations: 16.41 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.01669, allocations: 8.078 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.01674, allocations: 4 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.01677, allocations: 8 kB / 382.8 MB, free: 13.07 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.0001245/0.01689, allocations: 121.8 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.01694, allocations: 23.83 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003754/0.01732, allocations: 123 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01732, allocations: 0 / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01732, allocations: 0 / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01733, allocations: 4 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007402/0.01807, allocations: 354.9 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01807, allocations: 0 / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-05/0.01814, allocations: 12 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.01815, allocations: 4 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.01816, allocations: 0 / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.01816, allocations: 0 / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.01817, allocations: 4 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.01859, allocations: 216.2 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.01862, allocations: 11.91 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.01867, allocations: 8.031 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.01879, allocations: 4 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.01885, allocations: 7.984 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.01887, allocations: 4 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002292/0.0191, allocations: 147.2 kB / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0191, allocations: 3.938 kB / 383.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003897/0.01948, allocations: 35.86 kB / 383.9 MB, free: 11.94 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.003197/0.02268, allocations: 481.4 kB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.02298, allocations: 67.83 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.02298, allocations: 0 / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.02311, allocations: 27.98 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.0236, allocations: 27.98 kB / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000722/0.02433, allocations: 237.7 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.02448, allocations: 92.3 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.18e-05/0.02457, allocations: 21.27 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.02463, allocations: 20.5 kB / 384.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02463, allocations: 0 / 384.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of Templates: time 0.008115/0.03275, allocations: 1.863 MB / 386.7 MB, free: 9.254 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.904495312017389]