Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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: 111.1 kB / 20.44 MB, free: 1.352 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.001422/0.001422, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2574/0.2574, allocations: 44.93 MB / 358.8 MB, free: 6.066 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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.002039/0.002039, allocations: 67.89 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.343, allocations: 65.47 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003598/0.3466, allocations: 1.926 MB / 0.5589 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.3487, allocations: 1.135 MB / 0.56 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.3488, allocations: 3.938 kB / 0.56 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.3494, allocations: 203.4 kB / 0.5602 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004676/0.3499, allocations: 211.1 kB / 0.5604 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.3503, allocations: 167.4 kB / 0.5606 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000353/0.3506, allocations: 271.2 kB / 0.5608 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3507, allocations: 16.59 kB / 0.5608 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3509, allocations: 115.5 kB / 0.5609 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.3511, allocations: 119.4 kB / 0.5611 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.3511, allocations: 12 kB / 0.5611 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3513, allocations: 59.97 kB / 0.5611 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.674e-05/0.3513, allocations: 59.75 kB / 0.5612 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.858e-05/0.3514, allocations: 67.55 kB / 0.5613 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.3518, allocations: 244.8 kB / 0.5615 GB, free: 2.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3518, allocations: 4 kB / 0.5615 GB, free: 2.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3518, allocations: 0 / 0.5615 GB, free: 2.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.3518, allocations: 0 / 0.5615 GB, free: 2.91 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008276/0.3526, allocations: 0.5 MB / 0.562 GB, free: 2.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3526, allocations: 8.031 kB / 0.562 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.3527, allocations: 34.75 kB / 0.562 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.3527, allocations: 24.8 kB / 0.562 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.3531, allocations: 230.6 kB / 0.5623 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.3531, allocations: 8.359 kB / 0.5623 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.3531, allocations: 11.94 kB / 0.5623 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.3534, allocations: 103.3 kB / 0.5624 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3534, allocations: 0 / 0.5624 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3534, allocations: 3.984 kB / 0.5624 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3534, allocations: 0 / 0.5624 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.3535, allocations: 43.97 kB / 0.5624 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.3541, allocations: 344.6 kB / 0.5628 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.3544, allocations: 121.2 kB / 0.5629 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3545, allocations: 41.69 kB / 0.5629 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.3545, allocations: 7.938 kB / 0.5629 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.3548, allocations: 121 kB / 0.563 GB, free: 1.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.3548, allocations: 0 / 0.563 GB, free: 1.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005002/0.3553, allocations: 189.4 kB / 0.5632 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.3553, allocations: 77.11 kB / 0.5633 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.3558, allocations: 360.5 kB / 0.5636 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.3558, allocations: 33.7 kB / 0.5637 GB, free: 488 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3559, allocations: 140.1 kB / 0.5638 GB, free: 344 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.356, allocations: 31.69 kB / 0.5638 GB, free: 312 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.356, allocations: 33.7 kB / 0.5639 GB, free: 272 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3562, allocations: 342.8 kB / 0.5642 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.3563, allocations: 36.48 kB / 0.5642 GB, free: 15.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.3565, allocations: 96.64 kB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.3567, allocations: 107.4 kB / 0.5644 GB, free: 15.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3567, allocations: 0 / 0.5644 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003181/0.357, allocations: 153.5 kB / 0.5646 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.357, allocations: 4 kB / 0.5646 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.357, allocations: 0 / 0.5646 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.357, allocations: 4 kB / 0.5646 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.3572, allocations: 23.92 kB / 0.5646 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3572, allocations: 4 kB / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.425e-05/0.3573, allocations: 19.83 kB / 0.5646 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.3573, allocations: 12.05 kB / 0.5646 GB, free: 15.43 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001535/0.3574, allocations: 153.8 kB / 0.5648 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.3575, allocations: 27.81 kB / 0.5648 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.3579, allocations: 183.5 kB / 0.565 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3579, allocations: 0 / 0.565 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3579, allocations: 192 / 0.565 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.3579, allocations: 7.922 kB / 0.565 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.3582, allocations: 212.7 kB / 0.5652 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3582, allocations: 0 / 0.5652 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.3582, allocations: 19.92 kB / 0.5652 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3582, allocations: 4 kB / 0.5652 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3582, allocations: 4 kB / 0.5652 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.3582, allocations: 7.938 kB / 0.5652 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3582, allocations: 0 / 0.5652 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.3586, allocations: 197.7 kB / 0.5654 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.3586, allocations: 23.8 kB / 0.5654 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.3587, allocations: 11.98 kB / 0.5654 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.3588, allocations: 4 kB / 0.5654 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.3588, allocations: 19.86 kB / 0.5655 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.3588, allocations: 11.98 kB / 0.5655 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003039/0.3591, allocations: 271 kB / 0.5657 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3591, allocations: 0 / 0.5657 GB, free: 14.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.3594, allocations: 32 kB / 0.5658 GB, free: 14.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002197/0.3616, allocations: 1.065 MB / 0.5668 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.3619, allocations: 103.8 kB / 0.5669 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3619, allocations: 4.125 kB / 0.5669 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.3621, allocations: 47.97 kB / 0.567 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.3625, allocations: 78.41 kB / 0.567 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.3656, allocations: 2.361 MB / 0.5693 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.3658, allocations: 144.8 kB / 0.5695 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.366, allocations: 26.47 kB / 0.5695 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.3661, allocations: 71.41 kB / 0.5696 GB, free: 10.33 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3661, allocations: 0 / 0.5696 GB, free: 10.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.4012, allocations: 6.625 MB / 0.576 GB, free: 3.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.7, allocations: 3.562 kB / 0.576 GB, free: 3.766 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.81329914694652]