Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.002305/0.002305, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002929/0.002929, allocations: 161.7 kB / 24.27 MB, free: 172 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.534/1.534, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.4107/0.4107, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.928e-05, allocations: 5.406 kB / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003644/0.003673, allocations: 1.793 MB / 377.1 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.005842, allocations: 1.045 MB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.865e-05/0.005931, allocations: 7.938 kB / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.006576, allocations: 303.2 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005662/0.007142, allocations: 263 kB / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.007404, allocations: 103.6 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.007807, allocations: 271.2 kB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.308e-05/0.00787, allocations: 13.8 kB / 379.1 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.00821, allocations: 155.6 kB / 379.3 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004339/0.008644, allocations: 203.6 kB / 379.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.008684, allocations: 8 kB / 379.5 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.008853, allocations: 47.92 kB / 379.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.009108, allocations: 147.5 kB / 379.7 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.00927, allocations: 67.67 kB / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007041/0.009974, allocations: 362.7 kB / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.009978, allocations: 0 / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.009979, allocations: 0 / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.009985, allocations: 0 / 380.1 MB, free: 144 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.001563/0.01155, allocations: 0.6708 MB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.0116, allocations: 11.97 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.01177, allocations: 60.56 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.01281, allocations: 409.7 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.01283, allocations: 384 / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.01285, allocations: 4.375 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.01318, allocations: 87.92 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.01319, allocations: 3.938 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.01321, allocations: 0 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.01322, allocations: 4 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.01342, allocations: 39.91 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006577/0.01408, allocations: 310 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.01453, allocations: 101.2 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.01469, allocations: 37.7 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.01472, allocations: 0 / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.01511, allocations: 117.1 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.01511, allocations: 3.938 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008588/0.01597, allocations: 213.2 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.01608, allocations: 85.05 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.0183, allocations: 1.062 MB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.01834, allocations: 25.7 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.01866, allocations: 240.1 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.01873, allocations: 19.86 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/0.01882, allocations: 33.7 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003876/0.01921, allocations: 370.8 kB / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.01936, allocations: 27.98 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.01955, allocations: 63.41 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.01988, allocations: 91.34 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.01989, allocations: 0.5 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005904/0.02048, allocations: 185.2 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.02051, allocations: 12.06 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.02053, allocations: 3.938 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.794e-05/0.02057, allocations: 0 / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.0208, allocations: 27.92 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.02081, allocations: 0 / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.02101, allocations: 23.81 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.02103, allocations: 4 kB / 384.4 MB, free: 11.61 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.0004498/0.02148, allocations: 222.3 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.02161, allocations: 59.67 kB / 384.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006568/0.02227, allocations: 205.9 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.02228, allocations: 4 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.02229, allocations: 3.984 kB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.0223, allocations: 0 / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.0228, allocations: 269.1 kB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.02281, allocations: 3.938 kB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.02287, allocations: 11.98 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.02288, allocations: 0 / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.02291, allocations: 8 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.02291, allocations: 3.938 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02292, allocations: 0 / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.02347, allocations: 221.6 kB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.02365, allocations: 71.55 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.02373, allocations: 16.12 kB / 385.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.02387, allocations: 15.92 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.02396, allocations: 11.98 kB / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.02398, allocations: 4 kB / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00144/0.02542, allocations: 0.7878 MB / 386.3 MB, free: 9.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02542, allocations: 0 / 386.3 MB, free: 9.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005007/0.02592, allocations: 47.98 kB / 386.3 MB, free: 9.605 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.002743/0.02867, allocations: 436.5 kB / 386.7 MB, free: 9.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004146/0.02908, allocations: 91.83 kB / 386.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.02908, allocations: 0 / 386.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.02925, allocations: 44.3 kB / 386.9 MB, free: 9.227 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.02994, allocations: 78.31 kB / 387 MB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.0321, allocations: 0.9131 MB / 387.9 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.03254, allocations: 257.6 kB / 388.1 MB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002028/0.03274, allocations: 50.95 kB / 388.2 MB, free: 7.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.03287, allocations: 32.48 kB / 388.2 MB, free: 7.844 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03287, allocations: 0 / 388.2 MB, free: 7.844 MB / 362.7 MB Notification: Performance of Templates: time 0.01649/0.04936, allocations: 4.064 MB / 392.3 MB, free: 3.816 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.166004469967447]