Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.002418/0.002418, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002702/0.002702, allocations: 160.8 kB / 24.27 MB, free: 156 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.629/1.629, allocations: 177 MB / 204.5 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.4037/0.4037, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.399e-05/4.605e-05, allocations: 8.141 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003673/0.003719, allocations: 1.727 MB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.005828, allocations: 1.009 MB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.005908, allocations: 0 / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.006261, allocations: 55.62 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.006634, allocations: 95.53 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.006892, allocations: 75.67 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000284/0.007176, allocations: 115.6 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.007281, allocations: 7.984 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.007432, allocations: 47.91 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.007534, allocations: 27.84 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.007561, allocations: 8 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.007703, allocations: 47.86 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.007785, allocations: 23.92 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.007843, allocations: 23.91 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.008128, allocations: 127.5 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.008133, allocations: 0 / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.008135, allocations: 4 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.008141, allocations: 0 / 380.7 MB, free: 15.41 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.0007585/0.0089, allocations: 463.4 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.008942, allocations: 8.031 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.009017, allocations: 16.84 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.009297, allocations: 169.1 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.009311, allocations: 384 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.009335, allocations: 4.375 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.00949, allocations: 58.23 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.009501, allocations: 192 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.009511, allocations: 8.312 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.009517, allocations: 3.938 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.973e-05/0.009597, allocations: 19.98 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.01009, allocations: 299.8 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.01028, allocations: 63.16 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.01034, allocations: 19.69 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.01036, allocations: 7.984 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.01054, allocations: 84.86 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.01054, allocations: 0 / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006353/0.01118, allocations: 185.3 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.01123, allocations: 55.41 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.01154, allocations: 275.1 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.01156, allocations: 29.7 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.0117, allocations: 162.9 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.01174, allocations: 27.84 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/0.01181, allocations: 31.36 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005045/0.01231, allocations: 0.504 MB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.01237, allocations: 19.98 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.153e-05/0.01245, allocations: 43.36 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.01259, allocations: 67.31 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01259, allocations: 0 / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000241/0.01283, allocations: 109.5 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.01285, allocations: 4 kB / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.01285, allocations: 0 / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01287, allocations: 0 / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.01297, allocations: 19.94 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.01298, allocations: 4.141 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.01303, allocations: 4 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.01304, allocations: 4 kB / 383.4 MB, free: 12.46 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.0001498/0.01319, allocations: 170.8 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.01323, allocations: 19.84 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.01352, allocations: 127 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01352, allocations: 0 / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.01353, allocations: 384 / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01353, allocations: 0 / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.01415, allocations: 428.9 kB / 384.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.01415, allocations: 7.938 kB / 384.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.0142, allocations: 11.98 kB / 384.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.0142, allocations: 4 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01421, allocations: 4.031 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01421, allocations: 0 / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.01422, allocations: 7.938 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.0146, allocations: 271.4 kB / 384.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.01463, allocations: 7.953 kB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.01466, allocations: 8 kB / 384.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.01473, allocations: 3.984 kB / 384.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.01478, allocations: 4 kB / 384.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.0148, allocations: 7.984 kB / 384.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001999/0.015, allocations: 191.2 kB / 384.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.015, allocations: 4 kB / 384.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.01526, allocations: 23.98 kB / 384.7 MB, free: 11.1 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.003446/0.01871, allocations: 479.7 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.01894, allocations: 79.53 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.01894, allocations: 0 / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.655e-05/0.01904, allocations: 47.59 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.01941, allocations: 29.81 kB / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006241/0.02003, allocations: 253.4 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.02016, allocations: 96.8 kB / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.724e-05/0.02022, allocations: 21.39 kB / 385.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.02027, allocations: 16.5 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02027, allocations: 0 / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.006042/0.02631, allocations: 1.877 MB / 387.6 MB, free: 8.352 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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: 5.006213893997483]