Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001661/0.001661, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001972/0.001972, allocations: 211 kB / 23.73 MB, free: 4.387 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: 7.797 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.2321/0.2321, allocations: 44.93 MB / 358.8 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.003524/0.003524, allocations: 71.89 kB / 0.4931 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3383, allocations: 65.47 MB / 0.557 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003593/0.3419, allocations: 1.73 MB / 0.5587 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.3439, allocations: 0.9753 MB / 0.5597 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.344, allocations: 0 / 0.5597 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.3444, allocations: 87.69 kB / 0.5598 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004254/0.3448, allocations: 123.5 kB / 0.5599 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.3451, allocations: 79.73 kB / 0.56 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.3453, allocations: 123.6 kB / 0.5601 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3455, allocations: 13.8 kB / 0.5601 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.3456, allocations: 59.77 kB / 0.5601 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.3457, allocations: 55.83 kB / 0.5602 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3457, allocations: 4 kB / 0.5602 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.3458, allocations: 67.91 kB / 0.5603 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.322e-05/0.3459, allocations: 27.84 kB / 0.5603 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.346, allocations: 31.81 kB / 0.5603 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.3462, allocations: 143.4 kB / 0.5605 GB, free: 3.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3462, allocations: 0 / 0.5605 GB, free: 3.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3462, allocations: 0 / 0.5605 GB, free: 3.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.3463, allocations: 0 / 0.5605 GB, free: 3.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006365/0.3469, allocations: 373.3 kB / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3469, allocations: 8.031 kB / 0.5608 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.347, allocations: 34.75 kB / 0.5609 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.347, allocations: 16.78 kB / 0.5609 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.3473, allocations: 158.3 kB / 0.561 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3474, allocations: 8.375 kB / 0.561 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.3474, allocations: 11.94 kB / 0.561 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.3476, allocations: 57.66 kB / 0.5611 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.3476, allocations: 4 kB / 0.5611 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3476, allocations: 0 / 0.5611 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3476, allocations: 0 / 0.5611 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.743e-05/0.3477, allocations: 19.98 kB / 0.5611 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.3482, allocations: 275.8 kB / 0.5614 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.3485, allocations: 58.55 kB / 0.5614 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.3485, allocations: 28.97 kB / 0.5615 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.3486, allocations: 3.938 kB / 0.5615 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.3488, allocations: 75.39 kB / 0.5615 GB, free: 2.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.3488, allocations: 0 / 0.5615 GB, free: 2.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008882/0.3496, allocations: 245.7 kB / 0.5618 GB, free: 2.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.3497, allocations: 59.34 kB / 0.5618 GB, free: 2.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.35, allocations: 227.5 kB / 0.5621 GB, free: 2.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.35, allocations: 33.64 kB / 0.5621 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.3501, allocations: 112.1 kB / 0.5622 GB, free: 2.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.3501, allocations: 35.73 kB / 0.5622 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.3502, allocations: 25.7 kB / 0.5622 GB, free: 1.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3504, allocations: 326.8 kB / 0.5626 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.393e-05/0.3504, allocations: 31.98 kB / 0.5626 GB, free: 1.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.596e-05/0.3505, allocations: 45.7 kB / 0.5626 GB, free: 1.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.3507, allocations: 85.69 kB / 0.5627 GB, free: 1.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3507, allocations: 0 / 0.5627 GB, free: 1.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002626/0.351, allocations: 129.5 kB / 0.5628 GB, free: 1.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.351, allocations: 8 kB / 0.5628 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.351, allocations: 3.938 kB / 0.5629 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.351, allocations: 4 kB / 0.5629 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.3511, allocations: 27.92 kB / 0.5629 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3511, allocations: 0 / 0.5629 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.3511, allocations: 7.984 kB / 0.5629 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3511, allocations: 4 kB / 0.5629 GB, free: 1.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001284/0.3513, allocations: 134.3 kB / 0.563 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.3513, allocations: 11.91 kB / 0.563 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.3516, allocations: 162.9 kB / 0.5632 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3516, allocations: 3.938 kB / 0.5632 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3516, allocations: 0 / 0.5632 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3516, allocations: 0 / 0.5632 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006402/0.3523, allocations: 427.1 kB / 0.5636 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3523, allocations: 4 kB / 0.5636 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.3523, allocations: 15.98 kB / 0.5636 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3524, allocations: 4 kB / 0.5636 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3524, allocations: 0 / 0.5636 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3524, allocations: 12 kB / 0.5636 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.3524, allocations: 3.938 kB / 0.5636 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.3527, allocations: 249.1 kB / 0.5639 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.3527, allocations: 11.91 kB / 0.5639 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.3528, allocations: 4 kB / 0.5639 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.3528, allocations: 4 kB / 0.5639 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3529, allocations: 7.984 kB / 0.5639 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.3529, allocations: 11.98 kB / 0.5639 GB, free: 128 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.3531, allocations: 165.2 kB / 0.5641 GB, free: 15.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3531, allocations: 0 / 0.5641 GB, free: 15.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.3534, allocations: 35.92 kB / 0.5641 GB, free: 15.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002731/0.3561, allocations: 1.234 MB / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.3563, allocations: 75.91 kB / 0.5654 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3563, allocations: 3.938 kB / 0.5654 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.671e-05/0.3564, allocations: 39.92 kB / 0.5654 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.3568, allocations: 32.12 kB / 0.5655 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.3591, allocations: 1.829 MB / 0.5672 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.3592, allocations: 101.8 kB / 0.5673 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.3593, allocations: 24.42 kB / 0.5674 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/0.3594, allocations: 39.42 kB / 0.5674 GB, free: 12.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.473e-06/0.3594, allocations: 0 / 0.5674 GB, free: 12.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.3907, allocations: 4.584 MB / 0.5719 GB, free: 8.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.68, allocations: 7.25 kB / 0.5719 GB, free: 8.137 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.806055306922644]