Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001034/0.001034, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001244/0.001244, allocations: 161 kB / 24.56 MB, free: 16 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.064/1.064, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.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.2607/0.2607, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.036e-05, allocations: 2.312 kB / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003504/0.003534, allocations: 1.848 MB / 377.9 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.005487, allocations: 1.084 MB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.005592, allocations: 0 / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.00616, allocations: 299.1 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005538/0.006714, allocations: 267 kB / 379.6 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.006978, allocations: 103.6 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000344/0.007322, allocations: 275.2 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.174e-05/0.007374, allocations: 5.812 kB / 380 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.007597, allocations: 155.6 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006668/0.008264, allocations: 200.1 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.008297, allocations: 8 kB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.008424, allocations: 47.92 kB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.008576, allocations: 132.5 kB / 380.5 MB, free: 160 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.008677, allocations: 79.64 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.009085, allocations: 278.9 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.009088, allocations: 4 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.009089, allocations: 0 / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.009096, allocations: 0 / 380.8 MB, free: 15.8 MB / 362.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.001004/0.0101, allocations: 0.7785 MB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.01015, allocations: 15.97 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.01025, allocations: 52.61 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.01074, allocations: 324.7 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.01076, allocations: 4.375 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.01078, allocations: 8.375 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.01099, allocations: 90.3 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.01101, allocations: 3.938 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.01103, allocations: 7.984 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.01104, allocations: 0 / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.37e-05/0.0111, allocations: 23.92 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.01148, allocations: 316.1 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.01167, allocations: 94.16 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.021e-05/0.01173, allocations: 39.36 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.01175, allocations: 0 / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.01192, allocations: 112.3 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.01192, allocations: 0 / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003605/0.01228, allocations: 177.2 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.01232, allocations: 81.11 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007332/0.01305, allocations: 0.6979 MB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.01308, allocations: 29.7 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.01329, allocations: 302.8 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.01334, allocations: 23.84 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.01339, allocations: 39.36 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.0136, allocations: 0.5587 MB / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.981e-05/0.01365, allocations: 11.98 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-05/0.01372, allocations: 62.72 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.01383, allocations: 71.19 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01384, allocations: 4 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002339/0.01407, allocations: 157.3 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.01409, allocations: 11.94 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.01409, allocations: 3.938 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.01411, allocations: 4 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.01424, allocations: 19.98 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.01424, allocations: 4 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.01432, allocations: 11.92 kB / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.01433, allocations: 4 kB / 384.9 MB, free: 11.41 MB / 362.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.0001231/0.01446, allocations: 169.1 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.01452, allocations: 55.62 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.01481, allocations: 169.8 kB / 385.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.01481, allocations: 7.938 kB / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01482, allocations: 0 / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01482, allocations: 0 / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.01513, allocations: 308.5 kB / 385.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.01514, allocations: 0 / 385.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.03e-05/0.01519, allocations: 11.98 kB / 385.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01519, allocations: 0 / 385.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.01521, allocations: 11.94 kB / 385.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01521, allocations: 3.938 kB / 385.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01522, allocations: 0 / 385.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.01549, allocations: 219.8 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.01558, allocations: 71.59 kB / 385.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.01562, allocations: 4 kB / 385.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.01569, allocations: 7.938 kB / 386 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.01574, allocations: 11.97 kB / 386 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.01576, allocations: 8 kB / 386 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004796/0.01624, allocations: 474.8 kB / 386.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01624, allocations: 0 / 386.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.01651, allocations: 40 kB / 386.5 MB, free: 9.793 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: 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.001112/0.01762, allocations: 399.2 kB / 386.9 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.01779, allocations: 67.59 kB / 386.9 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01779, allocations: 128 / 386.9 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.527e-05/0.01785, allocations: 51.55 kB / 387 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.01822, allocations: 73.25 kB / 387.1 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.01943, allocations: 0.6519 MB / 387.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.01954, allocations: 136.2 kB / 387.8 MB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.809e-05/0.01961, allocations: 42.89 kB / 387.9 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.01966, allocations: 28.48 kB / 387.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01966, allocations: 0 / 387.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of Templates: time 0.006296/0.02596, allocations: 4.019 MB / 391.9 MB, free: 4.453 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.4978483580052853]