Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001981/0.001981, allocations: 87.67 kB / 20.96 MB, free: 3.453 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.002139/0.002139, allocations: 161.3 kB / 24.27 MB, free: 148 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.608/1.608, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3417/0.3417, allocations: 32.8 MB / 293.9 MB, free: 1.219 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.579e-06/4.579e-06, allocations: 4 kB / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.44e-05, allocations: 9.203 kB / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003667/0.003701, allocations: 1.813 MB / 377.2 MB, free: 3.082 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.005802, allocations: 1.072 MB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.187e-05/0.005884, allocations: 3.938 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005524/0.006436, allocations: 291.2 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.006975, allocations: 263 kB / 378.8 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.007229, allocations: 115.6 kB / 378.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006344/0.007864, allocations: 271.2 kB / 379.1 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.007909, allocations: 9.797 kB / 379.2 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.008141, allocations: 147.7 kB / 379.3 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.008418, allocations: 200.1 kB / 379.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.008454, allocations: 11.94 kB / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.00857, allocations: 47.92 kB / 379.6 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.008742, allocations: 140.5 kB / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.008853, allocations: 71.66 kB / 379.8 MB, free: 472 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.009334, allocations: 350.8 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.009337, allocations: 0 / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.009338, allocations: 4 kB / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.009344, allocations: 0 / 380.1 MB, free: 116 kB / 346.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.001273/0.01062, allocations: 0.7979 MB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.01067, allocations: 8.031 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.01078, allocations: 52.61 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005705/0.01135, allocations: 340.6 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.01137, allocations: 384 / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.01138, allocations: 8.359 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.01159, allocations: 89.53 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.0116, allocations: 7.938 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.01161, allocations: 0 / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.01161, allocations: 4 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.01172, allocations: 27.97 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.01219, allocations: 348.2 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.01249, allocations: 110.2 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.01259, allocations: 51.33 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.01261, allocations: 4 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.01284, allocations: 120.3 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.01284, allocations: 0 / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004968/0.01333, allocations: 201.2 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.0134, allocations: 77.11 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009506/0.01435, allocations: 0.7642 MB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.01438, allocations: 29.7 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.01467, allocations: 322.8 kB / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.01472, allocations: 23.86 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.01478, allocations: 35.36 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003683/0.01515, allocations: 0.5821 MB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.01527, allocations: 23.98 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.01539, allocations: 70.61 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.01558, allocations: 95.17 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01558, allocations: 0 / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003428/0.01592, allocations: 181.2 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.01594, allocations: 4 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.01595, allocations: 7.938 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.01596, allocations: 0 / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.01608, allocations: 19.98 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.01609, allocations: 8.062 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.01619, allocations: 11.94 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.0162, allocations: 7.938 kB / 384.5 MB, free: 11.44 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.0001684/0.01637, allocations: 169.2 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.349e-05/0.01645, allocations: 59.61 kB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.01685, allocations: 177.8 kB / 384.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.01685, allocations: 4 kB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01686, allocations: 0 / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.01687, allocations: 3.984 kB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.01735, allocations: 352.5 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01735, allocations: 4 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.0174, allocations: 8 kB / 385.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.0174, allocations: 0 / 385.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.01742, allocations: 11.92 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.01742, allocations: 3.938 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01742, allocations: 0 / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.01782, allocations: 231.9 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.01797, allocations: 63.59 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.01802, allocations: 4 kB / 385.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.01811, allocations: 11.92 kB / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.01817, allocations: 15.98 kB / 385.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.01819, allocations: 4 kB / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008724/0.01906, allocations: 0.491 MB / 386.1 MB, free: 9.773 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01906, allocations: 0 / 386.1 MB, free: 9.773 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002565/0.01932, allocations: 47.98 kB / 386.1 MB, free: 9.727 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.002845/0.02216, allocations: 441.4 kB / 386.6 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.02244, allocations: 87.59 kB / 386.6 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02244, allocations: 0 / 386.6 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.02256, allocations: 56.16 kB / 386.7 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.02304, allocations: 84.8 kB / 386.8 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.02427, allocations: 0.6675 MB / 387.5 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.02454, allocations: 229.5 kB / 387.7 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.02465, allocations: 34.95 kB / 387.7 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.02472, allocations: 32.5 kB / 387.7 MB, free: 8.23 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02473, allocations: 0 / 387.7 MB, free: 8.23 MB / 362.7 MB Notification: Performance of Templates: time 0.00988/0.03461, allocations: 3.963 MB / 391.7 MB, free: 4.301 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.112355277989991]