Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.001158/0.001158, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001298/0.002457, allocations: 452 kB / 10.43 MB, free: 264 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.001048/0.001048, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002471, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9237/0.9237, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1606/1.084, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1391/0.1391, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02024/0.1594, allocations: 12.3 MB / 266.1 MB, free: 3.883 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 267.5 MB, free: 2.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.616e-05, allocations: 2.312 kB / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003572/0.003598, allocations: 1.851 MB / 269.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.005143, allocations: 0.8972 MB / 270.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.005266, allocations: 4 kB / 270.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005267/0.005792, allocations: 315 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.006195, allocations: 207.3 kB / 270.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.006591, allocations: 143.5 kB / 270.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000397/0.006988, allocations: 243.3 kB / 271.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.759e-05/0.007045, allocations: 10.47 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.007377, allocations: 212.2 kB / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.007618, allocations: 167.7 kB / 271.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.007647, allocations: 8 kB / 271.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.007777, allocations: 40 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.008, allocations: 135.6 kB / 271.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.008101, allocations: 59.69 kB / 271.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.008445, allocations: 270.9 kB / 272 MB, free: 13.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.008457, allocations: 0 / 272 MB, free: 13.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.008458, allocations: 0 / 272 MB, free: 13.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.00847, allocations: 0 / 272 MB, free: 13.93 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.0007039/0.009173, allocations: 0.6924 MB / 272.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.009204, allocations: 8.031 kB / 272.7 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.009256, allocations: 24.91 kB / 272.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.009523, allocations: 305.8 kB / 273 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.00954, allocations: 4.375 kB / 273 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.009554, allocations: 8.375 kB / 273 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.00971, allocations: 95.42 kB / 273.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.009719, allocations: 3.938 kB / 273.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.009729, allocations: 4 kB / 273.1 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.009735, allocations: 0 / 273.1 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.241e-05/0.009767, allocations: 21.58 kB / 273.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.009919, allocations: 114.4 kB / 273.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.01006, allocations: 86.8 kB / 273.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.01009, allocations: 21.72 kB / 273.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.01011, allocations: 0 / 273.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.01025, allocations: 103.8 kB / 273.5 MB, free: 12.31 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.01025, allocations: 0 / 273.5 MB, free: 12.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001891/0.01044, allocations: 107.6 kB / 273.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.01048, allocations: 84.98 kB / 273.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.01084, allocations: 0.5946 MB / 274.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.01085, allocations: 29.7 kB / 274.3 MB, free: 11.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.01091, allocations: 149.3 kB / 274.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.01094, allocations: 23.78 kB / 274.4 MB, free: 11.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.01098, allocations: 29.7 kB / 274.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.01106, allocations: 366.7 kB / 274.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.01108, allocations: 14.95 kB / 274.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.01111, allocations: 43.41 kB / 274.9 MB, free: 10.81 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.848e-05/0.01117, allocations: 63.83 kB / 275 MB, free: 10.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01117, allocations: 0 / 275 MB, free: 10.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001551/0.01133, allocations: 107.2 kB / 275.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.01134, allocations: 4 kB / 275.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01135, allocations: 4 kB / 275.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.01136, allocations: 0 / 275.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.01144, allocations: 35.86 kB / 275.1 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.01145, allocations: 0 / 275.1 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.0115, allocations: 11.94 kB / 275.1 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.0115, allocations: 4 kB / 275.1 MB, free: 10.56 MB / 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 8.66e-05/0.01159, allocations: 132.5 kB / 275.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.01162, allocations: 35.95 kB / 275.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.01176, allocations: 114 kB / 275.4 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01176, allocations: 4.062 kB / 275.4 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01176, allocations: 7.938 kB / 275.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01177, allocations: 3.984 kB / 275.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.0119, allocations: 161.7 kB / 275.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.0119, allocations: 0 / 275.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.01193, allocations: 15.94 kB / 275.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.01197, allocations: 55.64 kB / 275.6 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01197, allocations: 0 / 275.6 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.01198, allocations: 11.98 kB / 275.6 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01198, allocations: 4 kB / 275.7 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.01199, allocations: 3.938 kB / 275.7 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.0121, allocations: 126.4 kB / 275.8 MB, free: 9.832 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.01213, allocations: 8 kB / 275.8 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.01217, allocations: 11.92 kB / 275.8 MB, free: 9.812 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.0122, allocations: 11.98 kB / 275.8 MB, free: 9.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.01221, allocations: 3.938 kB / 275.8 MB, free: 9.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.01241, allocations: 315.2 kB / 276.1 MB, free: 9.488 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01241, allocations: 0 / 276.1 MB, free: 9.488 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.01257, allocations: 55.89 kB / 276.2 MB, free: 9.434 MB / 282.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.001109/0.01368, allocations: 0.5585 MB / 276.7 MB, free: 8.863 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.01379, allocations: 60.75 kB / 276.8 MB, free: 8.801 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.01381, allocations: 8 kB / 276.8 MB, free: 8.793 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.01385, allocations: 32.78 kB / 276.8 MB, free: 8.758 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.01415, allocations: 381.2 kB / 277.2 MB, free: 8.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007473/0.0149, allocations: 0.6483 MB / 277.9 MB, free: 7.641 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.1e-05/0.01497, allocations: 128.2 kB / 278 MB, free: 7.496 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.734e-05/0.01504, allocations: 38.94 kB / 278 MB, free: 7.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.01514, allocations: 99.3 kB / 278.1 MB, free: 7.359 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01514, allocations: 4 kB / 278.1 MB, free: 7.355 MB / 282.7 MB Notification: Performance of Templates: time 0.006307/0.02145, allocations: 4.322 MB / 282.4 MB, free: 3.027 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.800967521034181]