Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001821/0.001821, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.001487/0.001487, allocations: 212.3 kB / 24.51 MB, free: 3.914 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.2436/0.2436, allocations: 44.93 MB / 359.6 MB, free: 6.035 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.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",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.00199/0.00199, allocations: 59.91 kB / 0.4939 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3211, allocations: 65.48 MB / 0.5578 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003426/0.3245, allocations: 1.866 MB / 0.5596 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3264, allocations: 1.081 MB / 0.5607 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.204e-05/0.3265, allocations: 0 / 0.5607 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.327, allocations: 255.3 kB / 0.5609 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004732/0.3274, allocations: 239.2 kB / 0.5612 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.3277, allocations: 115.6 kB / 0.5613 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.328, allocations: 271.2 kB / 0.5615 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3281, allocations: 31.77 kB / 0.5616 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.3283, allocations: 131.5 kB / 0.5617 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.3286, allocations: 215.3 kB / 0.5619 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.3286, allocations: 8 kB / 0.5619 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.3287, allocations: 63.98 kB / 0.562 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.293e-05/0.3288, allocations: 63.77 kB / 0.562 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.853e-05/0.3289, allocations: 75.34 kB / 0.5621 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.3293, allocations: 262.8 kB / 0.5623 GB, free: 2.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3293, allocations: 0 / 0.5623 GB, free: 2.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3293, allocations: 3.938 kB / 0.5623 GB, free: 2.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3293, allocations: 0 / 0.5623 GB, free: 2.824 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008179/0.3301, allocations: 0.5196 MB / 0.5628 GB, free: 2.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3301, allocations: 12.03 kB / 0.5629 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.484e-05/0.3302, allocations: 4.188 kB / 0.5629 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.3302, allocations: 38.75 kB / 0.5629 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.3303, allocations: 28.75 kB / 0.5629 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.3307, allocations: 236.9 kB / 0.5632 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.3307, allocations: 8.125 kB / 0.5632 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.3307, allocations: 8 kB / 0.5632 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.331, allocations: 122.5 kB / 0.5633 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.331, allocations: 0 / 0.5633 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.331, allocations: 0 / 0.5633 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.331, allocations: 0 / 0.5633 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.3311, allocations: 51.95 kB / 0.5633 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.3318, allocations: 451.8 kB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.3322, allocations: 121.2 kB / 0.5639 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.3323, allocations: 41.81 kB / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.3323, allocations: 7.938 kB / 0.5639 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.3326, allocations: 125 kB / 0.564 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.3326, allocations: 0 / 0.564 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00145/0.334, allocations: 0.5365 MB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.3341, allocations: 81.11 kB / 0.5646 GB, free: 276 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005581/0.3347, allocations: 0.4977 MB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3347, allocations: 29.7 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3348, allocations: 176.5 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.07e-05/0.3349, allocations: 67.44 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.13e-05/0.335, allocations: 41.7 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3351, allocations: 354.7 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.3353, allocations: 59.97 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.3354, allocations: 99.27 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.3357, allocations: 159.4 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3357, allocations: 4 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004451/0.3362, allocations: 249.5 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3362, allocations: 7.938 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3362, allocations: 4 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3362, allocations: 0 / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.3364, allocations: 47.97 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3364, allocations: 4.234 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.735e-05/0.3365, allocations: 8 kB / 0.5664 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.3365, allocations: 11.98 kB / 0.5664 GB, free: 14.41 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001879/0.3367, allocations: 182.2 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.3367, allocations: 39.7 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005817/0.3373, allocations: 284.4 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3373, allocations: 4 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3373, allocations: 3.938 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3373, allocations: 4 kB / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.3384, allocations: 0.7108 MB / 0.5676 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.3384, allocations: 7.922 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.703e-05/0.3385, allocations: 35.92 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.3385, allocations: 4 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.3385, allocations: 11.98 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.3385, allocations: 4 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3385, allocations: 7.938 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.339, allocations: 447.5 kB / 0.5681 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.3391, allocations: 31.81 kB / 0.5681 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.3391, allocations: 11.98 kB / 0.5681 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.3393, allocations: 7.938 kB / 0.5681 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.3393, allocations: 19.97 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.3394, allocations: 15.98 kB / 0.5682 GB, free: 12.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003996/0.3398, allocations: 379.3 kB / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3398, allocations: 0 / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003556/0.3401, allocations: 55.88 kB / 0.5686 GB, free: 12.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.002853/0.343, allocations: 1.435 MB / 0.57 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.3433, allocations: 151.8 kB / 0.5701 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3433, allocations: 0 / 0.5701 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.3435, allocations: 84.2 kB / 0.5702 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.344, allocations: 72.33 kB / 0.5703 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.3478, allocations: 3.018 MB / 0.5732 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.348, allocations: 184.1 kB / 0.5734 GB, free: 7.203 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.3481, allocations: 33.94 kB / 0.5734 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.3483, allocations: 107.4 kB / 0.5735 GB, free: 7.066 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3483, allocations: 0 / 0.5735 GB, free: 7.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.3771, allocations: 7.203 MB / 0.5806 GB, free: 15.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.33, allocations: 9.422 kB / 0.5806 GB, free: 15.95 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.444193051895127]