Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001143/0.001143, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001362/0.002505, 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.001262/0.001262, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001622/0.002884, 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.035/1.035, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09861/1.133, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.2999/0.2999, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02151/0.3214, allocations: 13.09 MB / 291.3 MB, free: 7.387 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 292.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.426e-05, allocations: 2.312 kB / 292.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003105/0.00313, allocations: 1.891 MB / 294.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.00494, allocations: 1.096 MB / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.005041, allocations: 0 / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004514/0.005493, allocations: 315 kB / 296 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004312/0.005924, allocations: 259 kB / 296.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.006148, allocations: 111.6 kB / 296.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.006461, allocations: 263.3 kB / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.006513, allocations: 10.41 kB / 296.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.006812, allocations: 220.2 kB / 296.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.007037, allocations: 175.7 kB / 297 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.007062, allocations: 4 kB / 297 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.007174, allocations: 51.91 kB / 297.1 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.00731, allocations: 140.1 kB / 297.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.994e-05/0.00739, allocations: 55.69 kB / 297.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.007731, allocations: 274.9 kB / 297.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.544e-05/0.007747, allocations: 4 kB / 297.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007748, allocations: 0 / 297.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.007765, allocations: 0 / 297.5 MB, free: 1.383 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.000889/0.008654, allocations: 0.6974 MB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.00869, allocations: 12.62 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.008754, allocations: 24.91 kB / 298.3 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.00912, allocations: 309.8 kB / 298.6 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.00914, allocations: 384 / 298.6 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.009155, allocations: 8.375 kB / 298.6 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.009343, allocations: 91.45 kB / 298.7 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.009355, allocations: 3.938 kB / 298.7 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.009365, allocations: 0 / 298.7 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.009372, allocations: 0 / 298.7 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.773e-05/0.00943, allocations: 25.58 kB / 298.7 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.009642, allocations: 122.3 kB / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.0098, allocations: 78.81 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.009839, allocations: 25.7 kB / 298.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.009854, allocations: 4 kB / 298.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.01001, allocations: 99.88 kB / 299 MB, free: 15.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.01001, allocations: 0 / 299 MB, free: 15.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.000217/0.01023, allocations: 107.7 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.01028, allocations: 88.98 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/0.01088, allocations: 0.6063 MB / 299.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.0109, allocations: 29.7 kB / 299.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.541e-05/0.01099, allocations: 149.3 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.01103, allocations: 31.77 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.01108, allocations: 29.7 kB / 300 MB, free: 14.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.01121, allocations: 370.7 kB / 300.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.52e-05/0.01125, allocations: 14.89 kB / 300.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.412e-05/0.01129, allocations: 36.92 kB / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.528e-05/0.01138, allocations: 71.81 kB / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01138, allocations: 0 / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001631/0.01154, allocations: 107.3 kB / 300.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.01156, allocations: 8 kB / 300.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01156, allocations: 0 / 300.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.01157, allocations: 7.938 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.01169, allocations: 31.86 kB / 300.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.01169, allocations: 0 / 300.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.494e-05/0.01178, allocations: 11.94 kB / 300.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.01179, allocations: 4 kB / 300.7 MB, free: 13.97 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 0.0001125/0.0119, allocations: 125.4 kB / 300.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.01195, allocations: 35.95 kB / 300.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.01215, allocations: 122.1 kB / 301 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01215, allocations: 4 kB / 301 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01216, allocations: 3.938 kB / 301 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.01216, allocations: 3.984 kB / 301 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.01236, allocations: 161.7 kB / 301.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01236, allocations: 0 / 301.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.01242, allocations: 23.92 kB / 301.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.01249, allocations: 47.67 kB / 301.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01249, allocations: 0 / 301.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.0125, allocations: 7.984 kB / 301.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01251, allocations: 0 / 301.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.01251, allocations: 7.938 kB / 301.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.01268, allocations: 135.4 kB / 301.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.01272, allocations: 3.984 kB / 301.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.01279, allocations: 7.938 kB / 301.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.01282, allocations: 11.98 kB / 301.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.01284, allocations: 11.88 kB / 301.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003444/0.01319, allocations: 319.2 kB / 301.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01319, allocations: 0 / 301.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.01343, allocations: 51.92 kB / 301.8 MB, free: 12.84 MB / 298.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001857/0.01529, allocations: 0.5469 MB / 302.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.01542, allocations: 56.53 kB / 302.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/0.01543, allocations: 4 kB / 302.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.77e-05/0.01549, allocations: 40.7 kB / 302.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.01581, allocations: 93.39 kB / 302.5 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.01694, allocations: 0.6654 MB / 303.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.01705, allocations: 132.2 kB / 303.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.741e-05/0.01715, allocations: 42.94 kB / 303.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.01731, allocations: 99.36 kB / 303.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01731, allocations: 0 / 303.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of Templates: time 0.008862/0.02617, allocations: 4.357 MB / 307.8 MB, free: 7.141 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.1174851255491376]