Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001077/0.001077, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001589/0.002666, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001097/0.001097, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002499, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.024/1.024, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1142/1.138, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.264/0.264, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02629/0.2903, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 292.7 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.023e-05, allocations: 3.078 kB / 292.7 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002156/0.002176, allocations: 1.821 MB / 294.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.003486, allocations: 1.022 MB / 295.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.409e-05/0.00358, allocations: 7.938 kB / 295.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.003823, allocations: 83.69 kB / 295.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.004069, allocations: 131.3 kB / 295.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.004229, allocations: 79.66 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.004398, allocations: 131.6 kB / 296 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.541e-05/0.004484, allocations: 7.984 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.004612, allocations: 99.78 kB / 296.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.142e-05/0.004703, allocations: 47.89 kB / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.004717, allocations: 4 kB / 296.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.004819, allocations: 75.83 kB / 296.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.004864, allocations: 15.94 kB / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.004897, allocations: 23.88 kB / 296.3 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.005062, allocations: 115.6 kB / 296.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.005077, allocations: 0 / 296.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.005079, allocations: 4 kB / 296.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.005091, allocations: 3.938 kB / 296.4 MB, free: 2.527 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004626/0.005554, allocations: 352.9 kB / 296.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.005587, allocations: 8.031 kB / 296.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.005622, allocations: 20.86 kB / 296.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.005794, allocations: 154.3 kB / 296.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.005812, allocations: 8.359 kB / 296.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.005831, allocations: 4.375 kB / 296.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.005941, allocations: 65.77 kB / 297 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.00595, allocations: 3.938 kB / 297 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.005958, allocations: 0 / 297 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005962, allocations: 4 kB / 297 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.859e-05/0.005991, allocations: 11.98 kB / 297 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.006206, allocations: 177.8 kB / 297.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.006345, allocations: 93.36 kB / 297.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.006365, allocations: 16.84 kB / 297.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.006376, allocations: 0 / 297.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.26e-05/0.006469, allocations: 70.22 kB / 297.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.00647, allocations: 0 / 297.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004243/0.006894, allocations: 181.3 kB / 297.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.006924, allocations: 51.41 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.007035, allocations: 193.6 kB / 297.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.007049, allocations: 29.7 kB / 297.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.007085, allocations: 104.1 kB / 297.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.007117, allocations: 35.69 kB / 297.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.007146, allocations: 25.7 kB / 298 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.007225, allocations: 330.8 kB / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.007242, allocations: 14.83 kB / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.903e-05/0.007271, allocations: 32.06 kB / 298.3 MB, free: 424 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.928e-05/0.007321, allocations: 53.27 kB / 298.4 MB, free: 364 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.007322, allocations: 0 / 298.4 MB, free: 364 kB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.048e-05/0.007412, allocations: 90.12 kB / 298.5 MB, free: 268 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.007426, allocations: 8.031 kB / 298.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.007431, allocations: 0 / 298.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.007439, allocations: 0 / 298.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.007503, allocations: 23.98 kB / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.007506, allocations: 0 / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.007534, allocations: 8 kB / 298.5 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.007539, allocations: 0 / 298.5 MB, free: 228 kB / 282.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 (13): * Single equations (assignments): 13 * 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.402e-05/0.007613, allocations: 128.5 kB / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.007627, allocations: 8 kB / 298.6 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.007757, allocations: 95.05 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.00776, allocations: 7.984 kB / 298.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.007761, allocations: 0 / 298.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.007766, allocations: 0 / 298.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.008023, allocations: 340.1 kB / 299.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.008025, allocations: 0 / 299.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.008062, allocations: 16 kB / 299.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.008075, allocations: 15.89 kB / 299.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.008078, allocations: 0 / 299.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.008087, allocations: 7.984 kB / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.008089, allocations: 8 kB / 299.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.008091, allocations: 0 / 299.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.008206, allocations: 238.1 kB / 299.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.008224, allocations: 4 kB / 299.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.008265, allocations: 8 kB / 299.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.008292, allocations: 7.984 kB / 299.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.008306, allocations: 7.938 kB / 299.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.919e-05/0.008355, allocations: 57.42 kB / 299.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008355, allocations: 0 / 299.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001543/0.008509, allocations: 39.92 kB / 299.5 MB, free: 15.18 MB / 298.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 (12): * Single equations (assignments): 10 * 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.001728/0.01024, allocations: 0.7188 MB / 300.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.01034, allocations: 52.7 kB / 300.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.01035, allocations: 7.984 kB / 300.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.437e-05/0.01039, allocations: 32.78 kB / 300.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.01059, allocations: 38.41 kB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005194/0.0111, allocations: 267.9 kB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.252e-05/0.01115, allocations: 72.27 kB / 300.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.355e-05/0.01119, allocations: 24.62 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.582e-05/0.01127, allocations: 71.38 kB / 300.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01127, allocations: 3.938 kB / 300.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of Templates: time 0.004394/0.01566, allocations: 2.322 MB / 303.1 MB, free: 11.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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: 2.9588678516447544]