Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001014/0.001014, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001073/0.001073, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.9827/0.9827, allocations: 177.2 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] 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.2375/0.2375, allocations: 32.81 MB / 294.3 MB, free: 1.23 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.34e-05, allocations: 10.25 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002419/0.002442, allocations: 1.793 MB / 377.9 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.003654, allocations: 1.013 MB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.003726, allocations: 0 / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.004048, allocations: 103.6 kB / 379 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.00437, allocations: 139.4 kB / 379.2 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.00457, allocations: 87.53 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.00475, allocations: 127.7 kB / 379.4 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.085e-05/0.00484, allocations: 8 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.056e-05/0.004931, allocations: 79.73 kB / 379.5 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.916e-05/0.00502, allocations: 67.84 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.005036, allocations: 8 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-05/0.00513, allocations: 59.92 kB / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.005179, allocations: 31.86 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.00522, allocations: 27.84 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.005398, allocations: 139.4 kB / 379.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.0054, allocations: 0 / 379.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005401, allocations: 0 / 379.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.005405, allocations: 0 / 379.8 MB, free: 0.8867 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004509/0.005855, allocations: 483.6 kB / 380.3 MB, free: 388 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.005892, allocations: 12.03 kB / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.00594, allocations: 20.84 kB / 380.3 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.006102, allocations: 161.3 kB / 380.4 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.00612, allocations: 8.359 kB / 380.5 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.006138, allocations: 4.375 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.006258, allocations: 74.88 kB / 380.5 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.006268, allocations: 3.938 kB / 380.5 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.006277, allocations: 0 / 380.5 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.006283, allocations: 4 kB / 380.5 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.548e-05/0.006329, allocations: 23.97 kB / 380.6 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.006641, allocations: 315.6 kB / 380.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.006817, allocations: 70.97 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.00685, allocations: 19.67 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.006861, allocations: 0 / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.303e-05/0.006954, allocations: 73.05 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.006955, allocations: 3.938 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005301/0.007485, allocations: 250 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.007516, allocations: 55.41 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.007673, allocations: 270.8 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.0077, allocations: 25.7 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.007763, allocations: 166.8 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.007797, allocations: 43.62 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.007835, allocations: 35.36 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.00798, allocations: 0.5079 MB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-05/0.008013, allocations: 23.98 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/0.008057, allocations: 43.36 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.607e-05/0.008133, allocations: 71.3 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.008134, allocations: 3.938 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001281/0.008262, allocations: 113.6 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.008273, allocations: 8 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.008277, allocations: 0 / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.008288, allocations: 3.938 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.008347, allocations: 36.02 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.008353, allocations: 4.062 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.008379, allocations: 4 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.008387, allocations: 4 kB / 382.7 MB, free: 13.76 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 (14): * Single equations (assignments): 14 * 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.215e-05/0.008459, allocations: 167.6 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.00848, allocations: 23.86 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.008726, allocations: 143 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.008729, allocations: 4 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.008733, allocations: 3.984 kB / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.008737, allocations: 0 / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.009064, allocations: 472.6 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-06/0.009066, allocations: 0 / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.009102, allocations: 19.94 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.009105, allocations: 4 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.009115, allocations: 7.984 kB / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.009117, allocations: 4 kB / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.009119, allocations: 3.938 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.009283, allocations: 303.4 kB / 383.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.009297, allocations: 15.89 kB / 383.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.009317, allocations: 12.06 kB / 383.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.039e-05/0.009357, allocations: 0 / 383.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.009392, allocations: 19.92 kB / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.009405, allocations: 4 kB / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.423e-05/0.009489, allocations: 193.4 kB / 384 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009489, allocations: 0 / 384 MB, free: 12.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.009674, allocations: 39.88 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001007/0.01068, allocations: 493.5 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.01082, allocations: 67.59 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01082, allocations: 4 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.973e-05/0.01087, allocations: 43.61 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.0111, allocations: 40.34 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.01157, allocations: 309.8 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.01162, allocations: 75.83 kB / 385.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.674e-05/0.01166, allocations: 21.12 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.0117, allocations: 20.5 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0117, allocations: 3.938 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of Templates: time 0.004021/0.01572, allocations: 2.439 MB / 387.6 MB, free: 8.922 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.1305228378623724]