Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001852/0.001852, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002164/0.002164, allocations: 216.7 kB / 23.73 MB, free: 4.16 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.613/1.613, 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.2399/0.2399, allocations: 44.93 MB / 358.8 MB, free: 6.031 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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",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.002915/0.002915, allocations: 67.89 kB / 0.4931 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3596, allocations: 65.47 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003986/0.3636, allocations: 1.716 MB / 0.5587 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.3657, allocations: 0.9677 MB / 0.5596 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.545e-05/0.3658, allocations: 4 kB / 0.5597 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.3662, allocations: 43.77 kB / 0.5597 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.3665, allocations: 107.5 kB / 0.5598 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.3667, allocations: 79.72 kB / 0.5599 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.3669, allocations: 115.6 kB / 0.56 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.367, allocations: 5.828 kB / 0.56 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.862e-05/0.3671, allocations: 43.78 kB / 0.56 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.3672, allocations: 27.84 kB / 0.5601 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.3672, allocations: 8 kB / 0.5601 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3674, allocations: 39.98 kB / 0.5601 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.739e-05/0.3674, allocations: 35.78 kB / 0.5601 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.3675, allocations: 23.81 kB / 0.5602 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.3678, allocations: 135.4 kB / 0.5603 GB, free: 4.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3678, allocations: 0 / 0.5603 GB, free: 4.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3678, allocations: 0 / 0.5603 GB, free: 4.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3678, allocations: 4 kB / 0.5603 GB, free: 4.156 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007099/0.3685, allocations: 365.4 kB / 0.5606 GB, free: 3.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3685, allocations: 8.031 kB / 0.5606 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.3686, allocations: 30.75 kB / 0.5607 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.3686, allocations: 12.89 kB / 0.5607 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.3689, allocations: 170.9 kB / 0.5609 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3689, allocations: 4.375 kB / 0.5609 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.369, allocations: 3.938 kB / 0.5609 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3691, allocations: 53.67 kB / 0.5609 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3691, allocations: 4 kB / 0.5609 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3691, allocations: 4 kB / 0.5609 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3691, allocations: 0 / 0.5609 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.771e-05/0.3692, allocations: 19.98 kB / 0.5609 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.3696, allocations: 271.9 kB / 0.5612 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3698, allocations: 46.69 kB / 0.5612 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/0.3698, allocations: 20.84 kB / 0.5613 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.3698, allocations: 7.984 kB / 0.5613 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.37, allocations: 67.33 kB / 0.5613 GB, free: 2.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.37, allocations: 4 kB / 0.5613 GB, free: 2.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006096/0.3706, allocations: 189.3 kB / 0.5615 GB, free: 2.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.3707, allocations: 59.33 kB / 0.5616 GB, free: 2.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.3709, allocations: 242.9 kB / 0.5618 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.371, allocations: 29.7 kB / 0.5618 GB, free: 2.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.098e-05/0.3711, allocations: 120.1 kB / 0.5619 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.3711, allocations: 15.86 kB / 0.562 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.3711, allocations: 29.7 kB / 0.562 GB, free: 2.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3713, allocations: 322.8 kB / 0.5623 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.09e-05/0.3714, allocations: 27.98 kB / 0.5623 GB, free: 1.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.3715, allocations: 37.64 kB / 0.5624 GB, free: 1.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.3716, allocations: 65.64 kB / 0.5624 GB, free: 1.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3716, allocations: 0 / 0.5624 GB, free: 1.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002252/0.3718, allocations: 101.6 kB / 0.5625 GB, free: 1.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.3718, allocations: 10.34 kB / 0.5625 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3718, allocations: 0 / 0.5625 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.3719, allocations: 0 / 0.5625 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.372, allocations: 24.3 kB / 0.5626 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.372, allocations: 8.031 kB / 0.5626 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/0.372, allocations: 11.88 kB / 0.5626 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.3721, allocations: 4 kB / 0.5626 GB, free: 1.602 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 (10): * Single equations (assignments): 10 * 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.0001386/0.3722, allocations: 129.8 kB / 0.5627 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.3722, allocations: 15.91 kB / 0.5627 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.3725, allocations: 126.9 kB / 0.5628 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3725, allocations: 4 kB / 0.5628 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3725, allocations: 0 / 0.5628 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3725, allocations: 3.938 kB / 0.5628 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.373, allocations: 370.4 kB / 0.5632 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.373, allocations: 0 / 0.5632 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.3731, allocations: 15.98 kB / 0.5632 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3731, allocations: 3.938 kB / 0.5632 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3731, allocations: 4 kB / 0.5632 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3731, allocations: 4 kB / 0.5632 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3731, allocations: 0 / 0.5632 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3733, allocations: 212.2 kB / 0.5634 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.3734, allocations: 12.28 kB / 0.5634 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.3734, allocations: 7.922 kB / 0.5634 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.3735, allocations: 12.03 kB / 0.5635 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3735, allocations: 11.92 kB / 0.5635 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.3735, allocations: 7.938 kB / 0.5635 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.3737, allocations: 175.2 kB / 0.5636 GB, free: 424 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3737, allocations: 4 kB / 0.5636 GB, free: 420 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.3739, allocations: 20 kB / 0.5637 GB, free: 400 kB / 398.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: 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 (9): * Single equations (assignments): 7 * 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.002343/0.3763, allocations: 1.145 MB / 0.5648 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.3765, allocations: 63.91 kB / 0.5648 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3765, allocations: 0 / 0.5648 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.359e-05/0.3766, allocations: 20 kB / 0.5649 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.3769, allocations: 49.84 kB / 0.5649 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.3791, allocations: 1.762 MB / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.3792, allocations: 100.6 kB / 0.5667 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.807e-05/0.3792, allocations: 21.27 kB / 0.5667 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.111e-05/0.3793, allocations: 43.42 kB / 0.5668 GB, free: 13.28 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3793, allocations: 4 kB / 0.5668 GB, free: 13.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03303/0.4124, allocations: 4.292 MB / 0.571 GB, free: 9.035 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.61, allocations: 12.72 kB / 0.571 GB, free: 9.031 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.82557913614437]