Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.002528/0.002528, allocations: 83.69 kB / 20.95 MB, free: 3.316 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.002871/0.002871, allocations: 161.3 kB / 24.27 MB, free: 4 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.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3454/0.3454, allocations: 32.8 MB / 293.9 MB, free: 1.18 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.416e-05, allocations: 2.312 kB / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003179/0.003203, allocations: 1.749 MB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.005081, allocations: 0.9938 MB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.005143, allocations: 0 / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.005463, allocations: 83.64 kB / 378.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.005806, allocations: 119.4 kB / 378.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.006009, allocations: 79.59 kB / 378.4 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.006412, allocations: 115.7 kB / 378.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.617e-05/0.006488, allocations: 7.938 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.006628, allocations: 79.73 kB / 378.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.00674, allocations: 47.89 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.006761, allocations: 4 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.006863, allocations: 43.97 kB / 378.7 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.006925, allocations: 27.86 kB / 378.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.006977, allocations: 23.92 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.00721, allocations: 131.5 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.007213, allocations: 0 / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007214, allocations: 0 / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.007219, allocations: 0 / 378.8 MB, free: 1.402 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006624/0.007881, allocations: 467.4 kB / 379.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.007913, allocations: 8.031 kB / 379.3 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.00797, allocations: 16.84 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.008203, allocations: 144.4 kB / 379.5 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.008221, allocations: 8.375 kB / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.008238, allocations: 384 / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.008378, allocations: 54.17 kB / 379.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.008394, allocations: 3.938 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.008404, allocations: 8 kB / 379.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.008408, allocations: 0 / 379.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.964e-05/0.008488, allocations: 11.98 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.008924, allocations: 311.8 kB / 379.8 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.009108, allocations: 71.09 kB / 379.9 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.009169, allocations: 23.61 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.009185, allocations: 0 / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.009338, allocations: 73.05 kB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.009339, allocations: 0 / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005948/0.009934, allocations: 181.3 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.009983, allocations: 55.41 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.01025, allocations: 262.7 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.01028, allocations: 29.7 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.01041, allocations: 170.8 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.01044, allocations: 27.78 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.0105, allocations: 27.38 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002726/0.01077, allocations: 0.504 MB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.028e-05/0.01083, allocations: 23.92 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-05/0.01091, allocations: 43.36 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.01103, allocations: 63.3 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01103, allocations: 4 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002055/0.01124, allocations: 109.5 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.01125, allocations: 11.94 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.01126, allocations: 0 / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.01127, allocations: 0 / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.01138, allocations: 20.36 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.01138, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.01143, allocations: 4 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.01144, allocations: 8 kB / 381.5 MB, free: 14.48 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.0001389/0.01158, allocations: 168.5 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.01161, allocations: 19.91 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.01189, allocations: 123.2 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.01189, allocations: 3.984 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.0119, allocations: 4 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.0119, allocations: 0 / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.01248, allocations: 420.9 kB / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01248, allocations: 0 / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.01253, allocations: 15.98 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01253, allocations: 0 / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.01254, allocations: 0 / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.01255, allocations: 4 kB / 382.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01255, allocations: 32 / 382.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.01287, allocations: 275.4 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.0129, allocations: 7.953 kB / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.01293, allocations: 11.98 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/0.013, allocations: 0 / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.01304, allocations: 7.984 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.01306, allocations: 4 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001805/0.01324, allocations: 193 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01324, allocations: 0 / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.0135, allocations: 31.92 kB / 382.8 MB, free: 13.13 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.003345/0.01684, allocations: 492.9 kB / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.01708, allocations: 75.53 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01708, allocations: 0 / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.51e-05/0.01718, allocations: 35.67 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.01754, allocations: 28.11 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.01811, allocations: 252.6 kB / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.01823, allocations: 104.7 kB / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.01829, allocations: 17.28 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.01833, allocations: 20.48 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01833, allocations: 4 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of Templates: time 0.005907/0.02424, allocations: 1.875 MB / 385.7 MB, free: 10.42 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.2188995480537415]