Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009599/0.0009599, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002355, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003974/0.00484, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9607/0.9607, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1748/1.136, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.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.1466/0.1466, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02505/0.1717, allocations: 12.54 MB / 284.5 MB, free: 9.707 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 285.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.847e-05, allocations: 2.312 kB / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002179/0.002197, allocations: 1.872 MB / 287.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003384, allocations: 0.9545 MB / 288.8 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.824e-05/0.003472, allocations: 11.88 kB / 288.8 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.003847, allocations: 299.1 kB / 289.1 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.00413, allocations: 215.2 kB / 289.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.004468, allocations: 175.4 kB / 289.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.004728, allocations: 243.3 kB / 289.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.004772, allocations: 14.39 kB / 289.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.004977, allocations: 200.2 kB / 289.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.005153, allocations: 175.7 kB / 290.1 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.005176, allocations: 12 kB / 290.1 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.005271, allocations: 43.92 kB / 290.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.005375, allocations: 135.6 kB / 290.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.005431, allocations: 51.75 kB / 290.3 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.005694, allocations: 270.9 kB / 290.6 MB, free: 3.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.005704, allocations: 0 / 290.6 MB, free: 3.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005706, allocations: 0 / 290.6 MB, free: 3.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.005716, allocations: 0 / 290.6 MB, free: 3.676 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.0006664/0.006383, allocations: 0.6808 MB / 291.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.006414, allocations: 12.03 kB / 291.3 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.006464, allocations: 28.91 kB / 291.3 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.006727, allocations: 305.8 kB / 291.6 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.006742, allocations: 384 / 291.6 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.006757, allocations: 8.375 kB / 291.6 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.006887, allocations: 87.44 kB / 291.7 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.006895, allocations: 3.938 kB / 291.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.006903, allocations: 4 kB / 291.7 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.006909, allocations: 4 kB / 291.7 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.007e-05/0.006939, allocations: 21.58 kB / 291.7 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.00708, allocations: 118.3 kB / 291.8 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.007191, allocations: 82.86 kB / 291.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.007226, allocations: 21.7 kB / 291.9 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.00724, allocations: 4 kB / 291.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.007373, allocations: 99.83 kB / 292 MB, free: 2.074 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.007374, allocations: 0 / 292 MB, free: 2.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001811/0.007555, allocations: 115.2 kB / 292.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.007595, allocations: 85.05 kB / 292.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.007978, allocations: 0.5868 MB / 292.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.008001, allocations: 29.7 kB / 292.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.008067, allocations: 145.3 kB / 293 MB, free: 1.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.008119, allocations: 31.78 kB / 293 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.008159, allocations: 25.72 kB / 293 MB, free: 1.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.008286, allocations: 366.7 kB / 293.4 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-05/0.008317, allocations: 18.81 kB / 293.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.7e-05/0.008354, allocations: 46.84 kB / 293.5 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.913e-05/0.008423, allocations: 75.75 kB / 293.5 MB, free: 488 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.008427, allocations: 4 kB / 293.5 MB, free: 484 kB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001215/0.008549, allocations: 103.2 kB / 293.6 MB, free: 372 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.008564, allocations: 4 kB / 293.6 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.008571, allocations: 0.625 kB / 293.6 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.008586, allocations: 4 kB / 293.6 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.008687, allocations: 35.86 kB / 293.7 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.008692, allocations: 0 / 293.7 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/0.008746, allocations: 12 kB / 293.7 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.008754, allocations: 8 kB / 293.7 MB, free: 308 kB / 282.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.0001038/0.008858, allocations: 120.7 kB / 293.8 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.008888, allocations: 27.97 kB / 293.8 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.009053, allocations: 129.7 kB / 294 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.009056, allocations: 0 / 294 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/0.009074, allocations: 7.984 kB / 294 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.009078, allocations: 0 / 294 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.009234, allocations: 161.6 kB / 294.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009236, allocations: 4 kB / 294.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.009271, allocations: 11.98 kB / 294.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.009315, allocations: 55.64 kB / 294.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.009318, allocations: 4 kB / 294.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.009327, allocations: 4 kB / 294.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.009329, allocations: 3.938 kB / 294.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.009331, allocations: 7.938 kB / 294.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.009451, allocations: 134.3 kB / 294.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.009477, allocations: 4 kB / 294.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.106e-05/0.009518, allocations: 4 kB / 294.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.009549, allocations: 11.98 kB / 294.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.009564, allocations: 15.92 kB / 294.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.009766, allocations: 311.2 kB / 294.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009766, allocations: 0 / 294.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.009921, allocations: 40 kB / 294.7 MB, free: 15.2 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.001278/0.0112, allocations: 0.563 MB / 295.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.01132, allocations: 60.77 kB / 295.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.01133, allocations: 8.188 kB / 295.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.01138, allocations: 36.78 kB / 295.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.01171, allocations: 387.8 kB / 295.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008216/0.01253, allocations: 0.6414 MB / 296.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.541e-05/0.0126, allocations: 124.2 kB / 296.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.074e-05/0.01267, allocations: 42.94 kB / 296.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.01278, allocations: 95.36 kB / 296.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01278, allocations: 4 kB / 296.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of Templates: time 0.006999/0.01978, allocations: 4.332 MB / 301 MB, free: 9.156 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.930917365476489]