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.001018/0.001018, allocations: 79.75 kB / 21.18 MB, free: 3.375 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.001088/0.001088, allocations: 161 kB / 24.56 MB, free: 8 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 0.9373/0.9373, 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.2904/0.2904, allocations: 32.8 MB / 294.3 MB, free: 1.293 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",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.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 376.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.954e-05, allocations: 6.25 kB / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003434/0.003464, allocations: 1.852 MB / 377.9 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.005672, allocations: 1.086 MB / 379 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.00582, allocations: 7.938 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006018/0.006422, allocations: 307.1 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.006902, allocations: 259 kB / 379.6 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.007152, allocations: 111.6 kB / 379.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.007409, allocations: 275.2 kB / 380 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.007455, allocations: 9.812 kB / 380 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.007594, allocations: 151.6 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.007768, allocations: 199.6 kB / 380.3 MB, free: 360 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.007791, allocations: 8 kB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.007887, allocations: 51.91 kB / 380.4 MB, free: 300 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.007999, allocations: 143.5 kB / 380.5 MB, free: 156 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.008073, allocations: 75.64 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.008378, allocations: 279 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.008382, allocations: 0 / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008383, allocations: 0 / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.008389, allocations: 0 / 380.9 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.0006669/0.009056, allocations: 0.7979 MB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.00909, allocations: 12.03 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.009173, allocations: 56.56 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.009475, allocations: 332.7 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.009494, allocations: 4.375 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.009505, allocations: 384 / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.009664, allocations: 98.28 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.009674, allocations: 7.875 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.009684, allocations: 0 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.009691, allocations: 4 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.193e-05/0.009733, allocations: 15.98 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.01001, allocations: 320.2 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.01016, allocations: 98.14 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.0102, allocations: 31.38 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.01022, allocations: 7.984 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.01034, allocations: 108.3 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.61e-07/0.01034, allocations: 4 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002581/0.0106, allocations: 177.2 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.01064, allocations: 85.11 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004832/0.01112, allocations: 0.7057 MB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.01114, allocations: 33.69 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.0113, allocations: 306.8 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.01134, allocations: 31.73 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.01138, allocations: 35.36 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.01153, allocations: 0.5587 MB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.01157, allocations: 19.98 kB / 384.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-05/0.01161, allocations: 54.73 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.872e-05/0.01169, allocations: 75.19 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01169, allocations: 3.984 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000147/0.01184, allocations: 153.2 kB / 385 MB, free: 11.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.01185, allocations: 8 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01186, allocations: 3.938 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.01187, allocations: 0 / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.01195, allocations: 31.98 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.01196, allocations: 0 / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.67e-05/0.01202, allocations: 11.94 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.01202, allocations: 8 kB / 385 MB, free: 11.36 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 9.713e-05/0.01212, allocations: 169.1 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.01216, allocations: 55.67 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.01236, allocations: 169.8 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01236, allocations: 0 / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.01236, allocations: 4 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01237, allocations: 4 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.01258, allocations: 324.4 kB / 385.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01258, allocations: 0 / 385.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.0126, allocations: 8 kB / 385.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01261, allocations: 4 kB / 385.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.01261, allocations: 0 / 385.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.01262, allocations: 3.938 kB / 385.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01262, allocations: 4 kB / 385.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.01279, allocations: 215.8 kB / 386 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.01284, allocations: 59.66 kB / 386 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.01287, allocations: 8 kB / 386 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.01291, allocations: 19.92 kB / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.01295, allocations: 7.984 kB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.01296, allocations: 4 kB / 386.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003313/0.01329, allocations: 490.7 kB / 386.5 MB, free: 9.766 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01329, allocations: 0 / 386.5 MB, free: 9.766 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001866/0.01348, allocations: 44 kB / 386.6 MB, free: 9.723 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.0008024/0.01428, allocations: 386.5 kB / 387 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.01443, allocations: 67.59 kB / 387 MB, free: 9.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01443, allocations: 4 kB / 387 MB, free: 9.406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.072e-05/0.01448, allocations: 43.59 kB / 387.1 MB, free: 9.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.01476, allocations: 82.47 kB / 387.2 MB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000696/0.01546, allocations: 0.6793 MB / 387.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.566e-05/0.01553, allocations: 128.2 kB / 388 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.399e-05/0.0156, allocations: 38.95 kB / 388 MB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.01565, allocations: 32.48 kB / 388 MB, free: 8.352 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01565, allocations: 0 / 388 MB, free: 8.352 MB / 362.7 MB Notification: Performance of Templates: time 0.006424/0.02207, allocations: 4.288 MB / 392.3 MB, free: 4.105 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] 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","",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.122355335392058]