Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001369/0.001369, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 213.1 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2321/0.2321, allocations: 46.93 MB / 360.8 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 79.88 kB / 0.4963 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3503, allocations: 66.08 MB / 0.5608 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00323/0.3535, allocations: 1.838 MB / 0.5626 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.3555, allocations: 1.115 MB / 0.5637 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.3556, allocations: 3.938 kB / 0.5637 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.3561, allocations: 307.2 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004712/0.3566, allocations: 259.2 kB / 0.5642 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.3568, allocations: 103.7 kB / 0.5643 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003332/0.3571, allocations: 263.2 kB / 0.5646 GB, free: 380 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.292e-05/0.3572, allocations: 5.812 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.3574, allocations: 143.5 kB / 0.5647 GB, free: 228 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.3576, allocations: 215.9 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.3577, allocations: 8 kB / 0.5649 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.3578, allocations: 43.98 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.3579, allocations: 136.5 kB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.3581, allocations: 154.7 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.3585, allocations: 372.1 kB / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3585, allocations: 0 / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3585, allocations: 0 / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.3585, allocations: 0 / 0.5656 GB, free: 15.31 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.0009852/0.3595, allocations: 0.6708 MB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3595, allocations: 12.03 kB / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.3596, allocations: 42.73 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.497e-05/0.3596, allocations: 52.61 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.3603, allocations: 386.5 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3603, allocations: 4.375 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.3603, allocations: 4.375 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.3605, allocations: 95.47 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.3605, allocations: 0 / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3605, allocations: 3.984 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3605, allocations: 4 kB / 0.5668 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.3606, allocations: 35.91 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.361, allocations: 349.5 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.3613, allocations: 101.2 kB / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.535e-05/0.3614, allocations: 37.7 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.3614, allocations: 0 / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.3616, allocations: 113 kB / 0.5674 GB, free: 13.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.3616, allocations: 4 kB / 0.5674 GB, free: 13.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004856/0.3621, allocations: 201.2 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.3622, allocations: 81.05 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.3633, allocations: 1.026 MB / 0.5687 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.3633, allocations: 33.64 kB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.3635, allocations: 236.1 kB / 0.569 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.3635, allocations: 19.86 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.3636, allocations: 33.7 kB / 0.569 GB, free: 11.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3638, allocations: 366.8 kB / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.3638, allocations: 27.98 kB / 0.5694 GB, free: 11.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3639, allocations: 66.66 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.3641, allocations: 91.86 kB / 0.5695 GB, free: 11.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3641, allocations: 7.938 kB / 0.5696 GB, free: 11.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003035/0.3644, allocations: 173.2 kB / 0.5697 GB, free: 10.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3645, allocations: 4 kB / 0.5697 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3645, allocations: 4 kB / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3645, allocations: 0 / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3646, allocations: 23.92 kB / 0.5697 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3646, allocations: 4 kB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.44e-05/0.3647, allocations: 19.95 kB / 0.5698 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3647, allocations: 4 kB / 0.5698 GB, free: 10.77 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.0002092/0.3649, allocations: 214.7 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.365, allocations: 55.61 kB / 0.57 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.3654, allocations: 197.8 kB / 0.5702 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.3654, allocations: 4 kB / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3654, allocations: 0 / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3654, allocations: 4 kB / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.3657, allocations: 312.5 kB / 0.5705 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3657, allocations: 3.938 kB / 0.5705 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.3657, allocations: 16.19 kB / 0.5705 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3657, allocations: 3.984 kB / 0.5706 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.3658, allocations: 12 kB / 0.5706 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3658, allocations: 0 / 0.5706 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3658, allocations: 0 / 0.5706 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.3661, allocations: 213.5 kB / 0.5708 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.3662, allocations: 71.53 kB / 0.5708 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.3663, allocations: 3.984 kB / 0.5708 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.151e-05/0.3663, allocations: 8 kB / 0.5708 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.3664, allocations: 11.92 kB / 0.5709 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.3664, allocations: 4 kB / 0.5709 GB, free: 9.578 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008475/0.3673, allocations: 0.7643 MB / 0.5716 GB, free: 8.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3673, allocations: 0 / 0.5716 GB, free: 8.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.3675, allocations: 44 kB / 0.5716 GB, free: 8.773 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.002038/0.3696, allocations: 1.063 MB / 0.5727 GB, free: 7.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.3698, allocations: 79.91 kB / 0.5728 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3698, allocations: 4 kB / 0.5728 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3699, allocations: 35.97 kB / 0.5728 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3703, allocations: 71.5 kB / 0.5729 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/0.376, allocations: 4.485 MB / 0.5772 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.3765, allocations: 0.8465 MB / 0.5781 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.3766, allocations: 54.94 kB / 0.5781 GB, free: 2.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.3768, allocations: 151.3 kB / 0.5783 GB, free: 1.969 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3768, allocations: 0 / 0.5783 GB, free: 1.969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.4134, allocations: 9.223 MB / 0.5873 GB, free: 8.781 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.17, allocations: 4 kB / 0.5873 GB, free: 8.777 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.328137841999705]