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.001831/0.001831, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00183/0.00183, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.231/0.231, allocations: 46.95 MB / 360.9 MB, free: 4.047 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.002158/0.002158, allocations: 64.09 kB / 0.4962 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3251, allocations: 66.03 MB / 0.5606 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003779/0.3288, allocations: 2.243 MB / 0.5628 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.3314, allocations: 1.349 MB / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.3315, allocations: 7.938 kB / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006154/0.3322, allocations: 291 kB / 0.5644 GB, free: 460 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007094/0.3329, allocations: 338.7 kB / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.3333, allocations: 219.5 kB / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000701/0.334, allocations: 0.5686 MB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.3342, allocations: 39.39 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.3345, allocations: 243 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.3349, allocations: 302.8 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.3349, allocations: 20 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.335, allocations: 55.98 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.3352, allocations: 119.5 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.3354, allocations: 138.9 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005182/0.3359, allocations: 449.8 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3359, allocations: 0 / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3359, allocations: 0 / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3359, allocations: 0 / 0.5668 GB, free: 13.98 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.001242/0.3372, allocations: 0.7261 MB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3372, allocations: 12.03 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/0.3373, allocations: 46.73 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.756e-05/0.3374, allocations: 64.55 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.338, allocations: 353.1 kB / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.338, allocations: 12.38 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.338, allocations: 19.92 kB / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.3385, allocations: 205.8 kB / 0.5682 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3385, allocations: 3.938 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.3385, allocations: 8 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3385, allocations: 4 kB / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.3388, allocations: 111.8 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3398, allocations: 0.8284 MB / 0.5691 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.3405, allocations: 289.2 kB / 0.5694 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.3407, allocations: 96.23 kB / 0.5695 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.3408, allocations: 8 kB / 0.5695 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004491/0.3412, allocations: 231.5 kB / 0.5697 GB, free: 10.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.3412, allocations: 0 / 0.5697 GB, free: 10.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002204/0.3434, allocations: 1.077 MB / 0.5708 GB, free: 9.672 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.3435, allocations: 158.2 kB / 0.5709 GB, free: 9.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.3444, allocations: 0.6826 MB / 0.5716 GB, free: 8.785 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.3444, allocations: 33.7 kB / 0.5716 GB, free: 8.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.3446, allocations: 245 kB / 0.5719 GB, free: 8.504 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.3448, allocations: 131 kB / 0.572 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3449, allocations: 66.14 kB / 0.5721 GB, free: 8.305 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.3451, allocations: 374.8 kB / 0.5724 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.3454, allocations: 104.8 kB / 0.5725 GB, free: 7.828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.3457, allocations: 188.8 kB / 0.5727 GB, free: 7.617 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/0.3463, allocations: 312.8 kB / 0.573 GB, free: 7.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3463, allocations: 0 / 0.573 GB, free: 7.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008553/0.3471, allocations: 429 kB / 0.5734 GB, free: 6.855 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3471, allocations: 4 kB / 0.5734 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.3472, allocations: 4.438 kB / 0.5734 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.3472, allocations: 4 kB / 0.5734 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.3475, allocations: 87.83 kB / 0.5735 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3475, allocations: 4 kB / 0.5735 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.3477, allocations: 19.98 kB / 0.5735 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.3478, allocations: 20 kB / 0.5735 GB, free: 6.715 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.0002868/0.3481, allocations: 216.3 kB / 0.5738 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3482, allocations: 67.52 kB / 0.5738 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.3492, allocations: 498.1 kB / 0.5743 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.3492, allocations: 4 kB / 0.5743 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3493, allocations: 4 kB / 0.5743 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3493, allocations: 0 / 0.5743 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.3511, allocations: 1.275 MB / 0.5755 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3511, allocations: 0 / 0.5755 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.3513, allocations: 59.91 kB / 0.5756 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.3513, allocations: 4 kB / 0.5756 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.3513, allocations: 19.92 kB / 0.5756 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.519e-05/0.3513, allocations: 4 kB / 0.5756 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.3513, allocations: 7.938 kB / 0.5756 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.3525, allocations: 0.8597 MB / 0.5765 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.3526, allocations: 55.61 kB / 0.5765 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.218e-05/0.3527, allocations: 15.94 kB / 0.5765 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.353, allocations: 19.98 kB / 0.5766 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.3531, allocations: 43.92 kB / 0.5766 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.3531, allocations: 23.98 kB / 0.5766 GB, free: 3.434 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000578/0.3537, allocations: 498.8 kB / 0.5771 GB, free: 2.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3537, allocations: 0 / 0.5771 GB, free: 2.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005778/0.3543, allocations: 91.94 kB / 0.5772 GB, free: 2.859 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 (45): * Single equations (assignments): 35 * 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.00314/0.3574, allocations: 1.832 MB / 0.579 GB, free: 1.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007063/0.3581, allocations: 303.3 kB / 0.5793 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3581, allocations: 0 / 0.5793 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.3585, allocations: 151.7 kB / 0.5794 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.3596, allocations: 150.1 kB / 0.5796 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005979/0.3655, allocations: 4.581 MB / 0.584 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.3658, allocations: 271.9 kB / 0.5843 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002306/0.3661, allocations: 79.39 kB / 0.5844 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.3663, allocations: 191.4 kB / 0.5846 GB, free: 11.28 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3663, allocations: 0 / 0.5846 GB, free: 11.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/0.4071, allocations: 12.28 MB / 0.5965 GB, free: 15.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.54, allocations: 10.19 kB / 0.5966 GB, free: 15.12 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: 14.580171882000286]