Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001355/0.001355, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.001506/0.001506, allocations: 215.5 kB / 24.48 MB, free: 3.957 MB / 14.72 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.533/1.533, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.237/0.237, allocations: 46.97 MB / 361.6 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 59.91 kB / 0.4974 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4052, allocations: 66.04 MB / 0.5619 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003717/0.4089, allocations: 1.784 MB / 0.5636 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.411, allocations: 1.046 MB / 0.5646 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.973e-05/0.4111, allocations: 0 / 0.5646 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006221/0.4117, allocations: 307.3 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005469/0.4123, allocations: 263.2 kB / 0.5652 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.4125, allocations: 111.6 kB / 0.5653 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.4129, allocations: 271.2 kB / 0.5655 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.096e-05/0.413, allocations: 5.812 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.4131, allocations: 135.5 kB / 0.5657 GB, free: 268 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.4134, allocations: 215.4 kB / 0.5659 GB, free: 52 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.4135, allocations: 8 kB / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.4136, allocations: 52.03 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.4138, allocations: 139.5 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.4139, allocations: 115 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004801/0.4144, allocations: 384.6 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4144, allocations: 4 kB / 0.5666 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4144, allocations: 0 / 0.5666 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.4144, allocations: 0 / 0.5666 GB, free: 15.37 MB / 414.1 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.001108/0.4155, allocations: 0.6824 MB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.4155, allocations: 12.03 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.148e-05/0.4156, allocations: 48.61 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.4163, allocations: 402.5 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.4163, allocations: 384 / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.4164, allocations: 8.125 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.4166, allocations: 91.34 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4166, allocations: 4 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.4166, allocations: 0 / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.4166, allocations: 0 / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.4167, allocations: 39.91 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.4172, allocations: 310.1 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.4175, allocations: 109.2 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.4176, allocations: 41.64 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.4176, allocations: 4 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.4179, allocations: 116.9 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.4179, allocations: 0 / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005787/0.4185, allocations: 209.2 kB / 0.5686 GB, free: 13.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.4185, allocations: 77.11 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.4198, allocations: 1.062 MB / 0.5697 GB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.4199, allocations: 29.7 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.4201, allocations: 240 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.4201, allocations: 35.72 kB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.4202, allocations: 33.7 kB / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.4204, allocations: 370.8 kB / 0.5703 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.626e-05/0.4205, allocations: 31.98 kB / 0.5704 GB, free: 11.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.4206, allocations: 59.41 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.4208, allocations: 91.84 kB / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4208, allocations: 0 / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003296/0.4211, allocations: 185.2 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4212, allocations: 7.984 kB / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4212, allocations: 0 / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.4212, allocations: 7.938 kB / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.4213, allocations: 23.94 kB / 0.5707 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.4213, allocations: 7.984 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.919e-05/0.4214, allocations: 7.938 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.4214, allocations: 4 kB / 0.5707 GB, free: 10.83 MB / 414.1 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.0002356/0.4217, allocations: 225.8 kB / 0.571 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.331e-05/0.4218, allocations: 59.56 kB / 0.571 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004224/0.4222, allocations: 201.8 kB / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4222, allocations: 0 / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.4222, allocations: 4 kB / 0.5712 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4222, allocations: 0 / 0.5712 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.4225, allocations: 269.2 kB / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.4225, allocations: 4 kB / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.4226, allocations: 15.92 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.4226, allocations: 3.938 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.4226, allocations: 8 kB / 0.5715 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4226, allocations: 0 / 0.5715 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4226, allocations: 0 / 0.5715 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.423, allocations: 229.8 kB / 0.5717 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.4231, allocations: 67.53 kB / 0.5718 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.4232, allocations: 4 kB / 0.5718 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.4232, allocations: 8 kB / 0.5718 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.4233, allocations: 7.984 kB / 0.5718 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.4233, allocations: 11.92 kB / 0.5718 GB, free: 9.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009199/0.4242, allocations: 0.7916 MB / 0.5726 GB, free: 8.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4242, allocations: 4 kB / 0.5726 GB, free: 8.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.4245, allocations: 44 kB / 0.5726 GB, free: 8.828 MB / 414.1 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.001692/0.4262, allocations: 435.7 kB / 0.5731 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.4265, allocations: 88.02 kB / 0.5731 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4265, allocations: 0 / 0.5731 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.4266, allocations: 51.97 kB / 0.5732 GB, free: 8.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.4271, allocations: 82.89 kB / 0.5733 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.4284, allocations: 0.9379 MB / 0.5742 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.4287, allocations: 237.7 kB / 0.5744 GB, free: 7.141 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.4288, allocations: 31.44 kB / 0.5744 GB, free: 7.113 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4288, allocations: 0 / 0.5744 GB, free: 7.113 MB / 414.1 MB Notification: Performance of Templates: time 0.009166/0.4379, allocations: 5.337 MB / 0.5796 GB, free: 1.777 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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: 8.177044538984774]