Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001371/0.001371, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001428/0.001428, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2292/0.2292, allocations: 46.93 MB / 360.9 MB, free: 4.254 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.Test67,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 71.88 kB / 0.4962 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3359, allocations: 66.04 MB / 0.5607 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004528/0.3404, allocations: 2.372 MB / 0.563 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.3435, allocations: 1.423 MB / 0.5644 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.3439, allocations: 11.88 kB / 0.5644 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000719/0.3446, allocations: 287 kB / 0.5647 GB, free: 352 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008502/0.3455, allocations: 338.6 kB / 0.565 GB, free: 12 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006026/0.3461, allocations: 219.5 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009208/0.347, allocations: 0.5802 MB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.3472, allocations: 43.09 kB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003768/0.3475, allocations: 251 kB / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004098/0.348, allocations: 298.8 kB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.961e-05/0.348, allocations: 20 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.3482, allocations: 55.98 kB / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.3483, allocations: 115.5 kB / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.3485, allocations: 178.7 kB / 0.5667 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006238/0.3492, allocations: 433.8 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3492, allocations: 4 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3492, allocations: 0 / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.3492, allocations: 0 / 0.5671 GB, free: 13.84 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001414/0.3506, allocations: 0.7378 MB / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.3506, allocations: 8.031 kB / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.164e-05/0.3507, allocations: 50.73 kB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.3508, allocations: 64.56 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007493/0.3516, allocations: 361.1 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.3516, allocations: 4.375 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.3517, allocations: 23.92 kB / 0.5683 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.3521, allocations: 201.8 kB / 0.5685 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.3521, allocations: 4 kB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.3522, allocations: 7.984 kB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3522, allocations: 4 kB / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.3524, allocations: 95.88 kB / 0.5686 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.3535, allocations: 0.8362 MB / 0.5695 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.3541, allocations: 277.3 kB / 0.5697 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.3543, allocations: 92.19 kB / 0.5698 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.3543, allocations: 4 kB / 0.5698 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004612/0.3548, allocations: 231.4 kB / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.3548, allocations: 0 / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002148/0.3569, allocations: 1.049 MB / 0.5711 GB, free: 9.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.357, allocations: 166.2 kB / 0.5712 GB, free: 9.367 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008023/0.3579, allocations: 0.6553 MB / 0.5719 GB, free: 8.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.3579, allocations: 41.69 kB / 0.5719 GB, free: 8.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.3581, allocations: 229 kB / 0.5721 GB, free: 8.426 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.3582, allocations: 131 kB / 0.5722 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.3583, allocations: 70.12 kB / 0.5723 GB, free: 8.223 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.3585, allocations: 374.8 kB / 0.5727 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.3588, allocations: 100.8 kB / 0.5728 GB, free: 7.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.3591, allocations: 180.9 kB / 0.5729 GB, free: 7.547 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.3596, allocations: 296.5 kB / 0.5732 GB, free: 7.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3596, allocations: 7.938 kB / 0.5732 GB, free: 7.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007314/0.3604, allocations: 412.8 kB / 0.5736 GB, free: 6.809 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3604, allocations: 8 kB / 0.5736 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3604, allocations: 0 / 0.5736 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3604, allocations: 4 kB / 0.5736 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.3607, allocations: 83.89 kB / 0.5737 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.3607, allocations: 7.938 kB / 0.5737 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.3609, allocations: 28.14 kB / 0.5737 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.361, allocations: 16 kB / 0.5738 GB, free: 6.664 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002379/0.3612, allocations: 208.3 kB / 0.574 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.432e-05/0.3613, allocations: 63.58 kB / 0.574 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009285/0.3622, allocations: 462 kB / 0.5745 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.3622, allocations: 8 kB / 0.5745 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3622, allocations: 4 kB / 0.5745 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.3623, allocations: 3.984 kB / 0.5745 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.364, allocations: 1.244 MB / 0.5757 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.364, allocations: 4 kB / 0.5757 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.3642, allocations: 48.86 kB / 0.5757 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.3642, allocations: 7.938 kB / 0.5758 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.3643, allocations: 19.92 kB / 0.5758 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3643, allocations: 4 kB / 0.5758 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.3643, allocations: 8.719 kB / 0.5758 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009445/0.3652, allocations: 0.8168 MB / 0.5766 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.3653, allocations: 51.61 kB / 0.5766 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.812e-05/0.3654, allocations: 23.94 kB / 0.5767 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.3657, allocations: 15.98 kB / 0.5767 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.3658, allocations: 35.94 kB / 0.5767 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.3658, allocations: 23.98 kB / 0.5767 GB, free: 3.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005541/0.3664, allocations: 490.8 kB / 0.5772 GB, free: 3.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3664, allocations: 0 / 0.5772 GB, free: 3.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000545/0.3669, allocations: 87.92 kB / 0.5773 GB, free: 2.949 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002982/0.3699, allocations: 1.742 MB / 0.579 GB, free: 1.352 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006311/0.3705, allocations: 271.9 kB / 0.5792 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3706, allocations: 0 / 0.5792 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.3708, allocations: 140.8 kB / 0.5794 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.3719, allocations: 145.4 kB / 0.5795 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006235/0.3782, allocations: 4.537 MB / 0.5839 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/0.3788, allocations: 0.855 MB / 0.5848 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002782/0.379, allocations: 92.12 kB / 0.5849 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.3793, allocations: 183.4 kB / 0.585 GB, free: 10.93 MB / 430.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3793, allocations: 0 / 0.585 GB, free: 10.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04146/0.4208, allocations: 11.29 MB / 0.5961 GB, free: 15.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.02, allocations: 11.23 kB / 0.5961 GB, free: 15.74 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.057664938038215]