Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001271/0.001271, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001534/0.001534, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.2321/0.2321, allocations: 46.93 MB / 361.6 MB, free: 4.289 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 0.497 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3422, allocations: 66.04 MB / 0.5615 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003339/0.3455, allocations: 1.936 MB / 0.5634 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.3474, allocations: 1.151 MB / 0.5645 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.741e-05/0.3475, allocations: 7.938 kB / 0.5645 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.348, allocations: 227.4 kB / 0.5647 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004531/0.3484, allocations: 223.1 kB / 0.5649 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.3487, allocations: 115.7 kB / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.349, allocations: 259.2 kB / 0.5653 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3491, allocations: 23.78 kB / 0.5653 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.3493, allocations: 127.5 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.3495, allocations: 171.4 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.3495, allocations: 8 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.3497, allocations: 71.95 kB / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.064e-05/0.3498, allocations: 55.72 kB / 0.5657 GB, free: 84 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.3499, allocations: 95.36 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.3502, allocations: 246.7 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3502, allocations: 0 / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3502, allocations: 0 / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.3502, allocations: 0 / 0.5661 GB, free: 15.75 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007447/0.3509, allocations: 0.508 MB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.351, allocations: 8.031 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.286e-05/0.351, allocations: 4.188 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.351, allocations: 34.75 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.3511, allocations: 32.75 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.3515, allocations: 230.5 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.3515, allocations: 8.125 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.3515, allocations: 11.94 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.3517, allocations: 118.4 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3518, allocations: 0 / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3518, allocations: 4 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3518, allocations: 0 / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.3519, allocations: 47.95 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.3525, allocations: 451.9 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.3529, allocations: 117.2 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.992e-05/0.353, allocations: 37.83 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.353, allocations: 8 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.3533, allocations: 117 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.3533, allocations: 0 / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001321/0.3546, allocations: 0.5092 MB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.3546, allocations: 85.11 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.3551, allocations: 440.5 kB / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.3552, allocations: 37.69 kB / 0.5688 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.3553, allocations: 156.5 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.3554, allocations: 71.42 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.3554, allocations: 45.7 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3556, allocations: 346.8 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3557, allocations: 59.97 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.3559, allocations: 95.28 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.3562, allocations: 159.5 kB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3562, allocations: 0 / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004368/0.3566, allocations: 241.2 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3566, allocations: 4 kB / 0.5699 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3566, allocations: 7.938 kB / 0.5699 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3567, allocations: 0 / 0.5699 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3568, allocations: 51.91 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3568, allocations: 0 / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.13e-05/0.3569, allocations: 7.953 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.3569, allocations: 12 kB / 0.57 GB, free: 11.48 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001762/0.3571, allocations: 178.3 kB / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.3571, allocations: 35.75 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005284/0.3577, allocations: 256.3 kB / 0.5704 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.3577, allocations: 4 kB / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3577, allocations: 3.984 kB / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3577, allocations: 0 / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009727/0.3587, allocations: 0.7068 MB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3587, allocations: 4 kB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.677e-05/0.3588, allocations: 31.92 kB / 0.5712 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3588, allocations: 0 / 0.5712 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.3588, allocations: 4 kB / 0.5712 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.3588, allocations: 8.219 kB / 0.5712 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3588, allocations: 3.938 kB / 0.5712 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.3593, allocations: 426 kB / 0.5716 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.3593, allocations: 31.75 kB / 0.5716 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.3594, allocations: 15.94 kB / 0.5716 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.3595, allocations: 4 kB / 0.5716 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.3596, allocations: 27.91 kB / 0.5717 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.3596, allocations: 11.98 kB / 0.5717 GB, free: 9.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003538/0.36, allocations: 339 kB / 0.572 GB, free: 9.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.36, allocations: 192 / 0.572 GB, free: 9.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003632/0.3604, allocations: 51.94 kB / 0.572 GB, free: 9.262 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002677/0.363, allocations: 1.368 MB / 0.5734 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003652/0.3634, allocations: 151.7 kB / 0.5735 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3634, allocations: 0 / 0.5735 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.3636, allocations: 75.84 kB / 0.5736 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.3641, allocations: 61.64 kB / 0.5736 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.3676, allocations: 2.888 MB / 0.5765 GB, free: 4.785 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.3681, allocations: 0.7792 MB / 0.5772 GB, free: 3.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.3682, allocations: 45.91 kB / 0.5773 GB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.3683, allocations: 95.41 kB / 0.5774 GB, free: 3.84 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3683, allocations: 0 / 0.5774 GB, free: 3.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.3966, allocations: 6.711 MB / 0.5839 GB, free: 13.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.1, allocations: 13.55 kB / 0.5839 GB, free: 13.21 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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: 15.250633921998087]