Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001351/0.001351, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001457/0.001457, allocations: 215.1 kB / 23.74 MB, free: 4.656 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.2514/0.2514, allocations: 44.91 MB / 358.8 MB, free: 6.309 MB / 286.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 67.84 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4229, allocations: 65.47 MB / 0.5571 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.00407/0.4269, allocations: 2.308 MB / 0.5594 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.4295, allocations: 1.342 MB / 0.5607 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.4296, allocations: 3.938 kB / 0.5607 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004231/0.43, allocations: 127.3 kB / 0.5608 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005311/0.4306, allocations: 242.9 kB / 0.561 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.431, allocations: 203.5 kB / 0.5612 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005573/0.4315, allocations: 466.6 kB / 0.5617 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.4317, allocations: 47.08 kB / 0.5617 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005081/0.4322, allocations: 315 kB / 0.562 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.4325, allocations: 167.1 kB / 0.5622 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.449e-05/0.4326, allocations: 16 kB / 0.5622 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.4328, allocations: 71.98 kB / 0.5622 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.433, allocations: 135.5 kB / 0.5624 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.4332, allocations: 190.5 kB / 0.5626 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006801/0.4339, allocations: 445.7 kB / 0.563 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4339, allocations: 0 / 0.563 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4339, allocations: 0 / 0.563 GB, free: 1.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4339, allocations: 0 / 0.563 GB, free: 1.691 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001373/0.4353, allocations: 0.7644 MB / 0.5637 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/0.4353, allocations: 16.02 kB / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.836e-05/0.4354, allocations: 50.67 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.4355, allocations: 72.52 kB / 0.5639 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/0.4362, allocations: 345.9 kB / 0.5642 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.4363, allocations: 12.38 kB / 0.5642 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.4363, allocations: 23.83 kB / 0.5642 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.4367, allocations: 193.5 kB / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.4367, allocations: 8 kB / 0.5644 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.4367, allocations: 4 kB / 0.5644 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.4367, allocations: 4 kB / 0.5644 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.437, allocations: 95.86 kB / 0.5645 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.438, allocations: 0.7695 MB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.4387, allocations: 234.5 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.4389, allocations: 83.52 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.4389, allocations: 4 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003884/0.4393, allocations: 204.2 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.4393, allocations: 0 / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002481/0.4418, allocations: 1.144 MB / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.4419, allocations: 136.5 kB / 0.567 GB, free: 13.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009315/0.4428, allocations: 0.8008 MB / 0.5678 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.4428, allocations: 37.7 kB / 0.5678 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.443, allocations: 237 kB / 0.5681 GB, free: 12.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.4432, allocations: 146.8 kB / 0.5682 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.4433, allocations: 82.08 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.4435, allocations: 374.8 kB / 0.5686 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.4437, allocations: 112.8 kB / 0.5687 GB, free: 11.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.444, allocations: 183.1 kB / 0.5689 GB, free: 11.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.4445, allocations: 327 kB / 0.5692 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4445, allocations: 0 / 0.5692 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007624/0.4453, allocations: 445.1 kB / 0.5697 GB, free: 10.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4453, allocations: 4 kB / 0.5697 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4453, allocations: 4 kB / 0.5697 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4453, allocations: 4 kB / 0.5697 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.4456, allocations: 87.83 kB / 0.5698 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.4456, allocations: 7.938 kB / 0.5698 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.4458, allocations: 19.98 kB / 0.5698 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.4458, allocations: 20.12 kB / 0.5698 GB, free: 10.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000273/0.4461, allocations: 240 kB / 0.57 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.971e-05/0.4462, allocations: 67.53 kB / 0.5701 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.4472, allocations: 495.2 kB / 0.5706 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.4472, allocations: 11.94 kB / 0.5706 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4472, allocations: 3.938 kB / 0.5706 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.4472, allocations: 7.984 kB / 0.5706 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.4489, allocations: 1.278 MB / 0.5718 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.4489, allocations: 4 kB / 0.5718 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.4491, allocations: 60.23 kB / 0.5719 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4491, allocations: 4 kB / 0.5719 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.4491, allocations: 15.98 kB / 0.5719 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.4491, allocations: 8 kB / 0.5719 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.4491, allocations: 15.81 kB / 0.5719 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009226/0.4501, allocations: 0.797 MB / 0.5727 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.4503, allocations: 95.52 kB / 0.5728 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/0.4503, allocations: 19.98 kB / 0.5728 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.4506, allocations: 15.98 kB / 0.5728 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.4507, allocations: 43.89 kB / 0.5729 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.4507, allocations: 19.98 kB / 0.5729 GB, free: 7.039 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006448/0.4514, allocations: 0.5811 MB / 0.5735 GB, free: 6.465 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4514, allocations: 3.938 kB / 0.5735 GB, free: 6.461 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005333/0.4519, allocations: 91.92 kB / 0.5736 GB, free: 6.371 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003152/0.455, allocations: 1.761 MB / 0.5753 GB, free: 4.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006462/0.4557, allocations: 296.6 kB / 0.5756 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4557, allocations: 4.25 kB / 0.5756 GB, free: 4.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.456, allocations: 148.1 kB / 0.5757 GB, free: 4.336 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009274/0.4569, allocations: 128.3 kB / 0.5758 GB, free: 4.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006416/0.4633, allocations: 4.748 MB / 0.5805 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/0.4639, allocations: 0.8937 MB / 0.5813 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002303/0.4641, allocations: 75.3 kB / 0.5814 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.4644, allocations: 191.4 kB / 0.5816 GB, free: 14.09 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4644, allocations: 0 / 0.5816 GB, free: 14.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04188/0.5063, allocations: 11.23 MB / 0.5926 GB, free: 2.965 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.48, allocations: 6.734 kB / 0.5926 GB, free: 2.961 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.787472760071978]