Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001016/0.001016, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001374/0.001374, allocations: 172.3 kB / 25.61 MB, free: 8.57 MB / 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.006/1.006, allocations: 177.1 MB / 206 MB, free: 4.512 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.1508/0.1508, allocations: 32.8 MB / 295.4 MB, free: 15.37 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.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 4 kB / 377.3 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.239e-05, allocations: 10.08 kB / 377.3 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002103/0.002125, allocations: 1.821 MB / 379.2 MB, free: 23.67 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.003275, allocations: 1.068 MB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.757e-05/0.003352, allocations: 11.88 kB / 380.2 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.003709, allocations: 303.2 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.00408, allocations: 267 kB / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.004311, allocations: 111.6 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.004564, allocations: 267.2 kB / 381.2 MB, free: 21.65 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.004606, allocations: 5.812 kB / 381.2 MB, free: 21.65 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.00473, allocations: 159.5 kB / 381.3 MB, free: 21.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.004876, allocations: 207.6 kB / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.004896, allocations: 8 kB / 381.5 MB, free: 21.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.905e-05/0.004985, allocations: 51.92 kB / 381.6 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.756e-05/0.005072, allocations: 139.6 kB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.005127, allocations: 75.64 kB / 381.8 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.005359, allocations: 275 kB / 382.1 MB, free: 20.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.005362, allocations: 0 / 382.1 MB, free: 20.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.005363, allocations: 3.938 kB / 382.1 MB, free: 20.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.005367, allocations: 0 / 382.1 MB, free: 20.75 MB / 314.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.0005199/0.005887, allocations: 0.7901 MB / 382.9 MB, free: 19.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/0.005915, allocations: 11.98 kB / 382.9 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.005966, allocations: 60.55 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.006183, allocations: 324.6 kB / 383.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.006198, allocations: 4.375 kB / 383.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.006207, allocations: 4.375 kB / 383.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.006321, allocations: 94.22 kB / 383.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.006327, allocations: 3.938 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.006334, allocations: 0 / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.006339, allocations: 4 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.959e-05/0.006368, allocations: 11.98 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.006541, allocations: 220.8 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.006644, allocations: 94.16 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.006671, allocations: 31.36 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.00668, allocations: 0 / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.264e-05/0.006773, allocations: 112.3 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.006774, allocations: 0 / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001893/0.006963, allocations: 169.2 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.006982, allocations: 81.11 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.007303, allocations: 0.7014 MB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.007316, allocations: 29.7 kB / 384.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.007426, allocations: 310.7 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.007459, allocations: 27.83 kB / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.007493, allocations: 47.34 kB / 385.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.007568, allocations: 0.5625 MB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/0.007589, allocations: 11.98 kB / 385.8 MB, free: 16.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.903e-05/0.007618, allocations: 58.05 kB / 385.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.388e-05/0.007672, allocations: 66.73 kB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007673, allocations: 0 / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001253/0.007799, allocations: 149.8 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.00781, allocations: 8 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.007815, allocations: 0 / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.007823, allocations: 3.938 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.496e-05/0.007898, allocations: 27.98 kB / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.007901, allocations: 3.938 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.007956, allocations: 23.86 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.00797, allocations: 8.062 kB / 386.1 MB, free: 16.45 MB / 314.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 7.557e-05/0.008046, allocations: 161.2 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.008084, allocations: 59.67 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.008253, allocations: 157.9 kB / 386.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.008257, allocations: 11.92 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.00826, allocations: 0 / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.008263, allocations: 0 / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.00843, allocations: 229 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.008433, allocations: 3.984 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.008465, allocations: 8 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.008468, allocations: 4 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.008475, allocations: 4 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008476, allocations: 0 / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008477, allocations: 0 / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.008623, allocations: 211.6 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.008668, allocations: 63.55 kB / 387 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.008697, allocations: 4 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.605e-05/0.008743, allocations: 7.984 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.008773, allocations: 11.92 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.008784, allocations: 8 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001887/0.008973, allocations: 442.6 kB / 387.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008973, allocations: 0 / 387.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.009154, allocations: 44 kB / 387.5 MB, free: 14.98 MB / 314.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.0008992/0.01005, allocations: 396.8 kB / 387.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.01017, allocations: 63.59 kB / 387.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01017, allocations: 3.938 kB / 387.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.01021, allocations: 39.64 kB / 388 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.01049, allocations: 82.88 kB / 388.1 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.01104, allocations: 0.6616 MB / 388.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.722e-05/0.0111, allocations: 132.1 kB / 388.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.429e-05/0.01117, allocations: 42.95 kB / 388.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.01127, allocations: 118.2 kB / 389 MB, free: 13.55 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01127, allocations: 0 / 389 MB, free: 13.55 MB / 314.7 MB Notification: Performance of Templates: time 0.006093/0.01736, allocations: 4.41 MB / 393.4 MB, free: 9.191 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3514177901670337]