Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001312/0.001312, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001575/0.001575, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2322/0.2322, allocations: 46.92 MB / 360.9 MB, free: 4.258 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.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.89 kB / 0.4962 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3383, allocations: 66.04 MB / 0.5607 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003728/0.342, allocations: 1.846 MB / 0.5625 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.344, allocations: 1.118 MB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.3441, allocations: 3.938 kB / 0.5636 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.3447, allocations: 315.3 kB / 0.5639 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005203/0.3452, allocations: 255.1 kB / 0.5641 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.3455, allocations: 111.6 kB / 0.5643 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.3459, allocations: 263.2 kB / 0.5645 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.3459, allocations: 5.812 kB / 0.5645 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.3461, allocations: 143.5 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.3465, allocations: 219.5 kB / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.3465, allocations: 4 kB / 0.5649 GB, free: 152 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.3466, allocations: 51.97 kB / 0.5649 GB, free: 100 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.3468, allocations: 143.5 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.3469, allocations: 154.8 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.3474, allocations: 372 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3474, allocations: 4 kB / 0.5656 GB, free: 15.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3474, allocations: 4 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.3474, allocations: 3.984 kB / 0.5656 GB, free: 15.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001036/0.3485, allocations: 0.6824 MB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3485, allocations: 11.97 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.3486, allocations: 38.75 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.845e-05/0.3486, allocations: 48.61 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.3493, allocations: 398.5 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3493, allocations: 384 / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3494, allocations: 11.94 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.3496, allocations: 91.3 kB / 0.5668 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3496, allocations: 0 / 0.5668 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.3496, allocations: 8 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3496, allocations: 0 / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.3497, allocations: 23.98 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.3501, allocations: 361.4 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.3504, allocations: 105.1 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.232e-05/0.3505, allocations: 37.7 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3505, allocations: 0 / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.3508, allocations: 113 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.3508, allocations: 0 / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004817/0.3513, allocations: 197.6 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.3513, allocations: 81.11 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.3525, allocations: 1.054 MB / 0.5687 GB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.3526, allocations: 33.7 kB / 0.5687 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.3527, allocations: 240 kB / 0.569 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.3528, allocations: 27.81 kB / 0.569 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.3528, allocations: 33.7 kB / 0.569 GB, free: 11.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.353, allocations: 362.8 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.637e-05/0.3531, allocations: 32.11 kB / 0.5694 GB, free: 11.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.3532, allocations: 67.34 kB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.3534, allocations: 87.42 kB / 0.5696 GB, free: 11.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3534, allocations: 3.938 kB / 0.5696 GB, free: 11.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003153/0.3537, allocations: 173.2 kB / 0.5697 GB, free: 10.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3537, allocations: 8 kB / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3538, allocations: 0 / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3538, allocations: 3.938 kB / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3539, allocations: 28.05 kB / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3539, allocations: 0 / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.824e-05/0.354, allocations: 11.94 kB / 0.5698 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.354, allocations: 4 kB / 0.5698 GB, free: 10.85 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002368/0.3542, allocations: 229.6 kB / 0.57 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-05/0.3543, allocations: 55.62 kB / 0.5701 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.3547, allocations: 194 kB / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3547, allocations: 8.062 kB / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3547, allocations: 4 kB / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3547, allocations: 0 / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.3551, allocations: 332.4 kB / 0.5706 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3551, allocations: 0 / 0.5706 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.3551, allocations: 12 kB / 0.5706 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3551, allocations: 0 / 0.5706 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3551, allocations: 0 / 0.5706 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3551, allocations: 4 kB / 0.5706 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3551, allocations: 3.984 kB / 0.5706 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.3555, allocations: 221.4 kB / 0.5708 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3556, allocations: 67.59 kB / 0.5709 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.3557, allocations: 4 kB / 0.5709 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.45e-05/0.3558, allocations: 7.984 kB / 0.5709 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.3558, allocations: 11.98 kB / 0.5709 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.3558, allocations: 4 kB / 0.5709 GB, free: 9.629 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009213/0.3568, allocations: 0.7878 MB / 0.5717 GB, free: 8.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3568, allocations: 0 / 0.5717 GB, free: 8.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.357, allocations: 40 kB / 0.5717 GB, free: 8.805 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002136/0.3592, allocations: 1.069 MB / 0.5727 GB, free: 7.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.3594, allocations: 79.89 kB / 0.5728 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3594, allocations: 0 / 0.5728 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.3595, allocations: 39.92 kB / 0.5729 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.36, allocations: 66.27 kB / 0.5729 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.3662, allocations: 4.578 MB / 0.5774 GB, free: 2.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.3667, allocations: 0.8468 MB / 0.5782 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.3669, allocations: 63.45 kB / 0.5783 GB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.3671, allocations: 155.4 kB / 0.5784 GB, free: 1.91 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3671, allocations: 0 / 0.5784 GB, free: 1.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03762/0.4047, allocations: 9.372 MB / 0.5876 GB, free: 8.621 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.9, allocations: 15.16 kB / 0.5876 GB, free: 8.613 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.873262781882659]