Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001963/0.001963, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002117/0.002117, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2583/0.2583, allocations: 44.91 MB / 359.6 MB, free: 6.285 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.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",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.0022/0.0022, allocations: 67.91 kB / 0.4939 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3246, allocations: 65.46 MB / 0.5579 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003217/0.3278, allocations: 1.938 MB / 0.5598 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3298, allocations: 1.154 MB / 0.5609 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.721e-05/0.3298, allocations: 3.938 kB / 0.5609 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.3302, allocations: 159.5 kB / 0.561 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004056/0.3306, allocations: 187.2 kB / 0.5612 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.3309, allocations: 119.7 kB / 0.5613 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.3312, allocations: 247.3 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3313, allocations: 23.92 kB / 0.5616 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.3315, allocations: 115.5 kB / 0.5617 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.3317, allocations: 151.4 kB / 0.5618 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.3317, allocations: 8 kB / 0.5619 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.3318, allocations: 63.97 kB / 0.5619 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/0.3319, allocations: 51.77 kB / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.332, allocations: 95.28 kB / 0.5621 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.3323, allocations: 219 kB / 0.5623 GB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3323, allocations: 4 kB / 0.5623 GB, free: 3.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3323, allocations: 0 / 0.5623 GB, free: 3.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.3324, allocations: 0 / 0.5623 GB, free: 3.199 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.0007451/0.3331, allocations: 480.5 kB / 0.5627 GB, free: 2.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3331, allocations: 11.97 kB / 0.5627 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.796e-05/0.3331, allocations: 8.125 kB / 0.5627 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.3332, allocations: 34.75 kB / 0.5628 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.22e-05/0.3333, allocations: 32.75 kB / 0.5628 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.3336, allocations: 226.6 kB / 0.563 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3336, allocations: 8.125 kB / 0.563 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3336, allocations: 8 kB / 0.563 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.3339, allocations: 111.2 kB / 0.5631 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3339, allocations: 4 kB / 0.5631 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3339, allocations: 4 kB / 0.5632 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3339, allocations: 0 / 0.5632 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.3341, allocations: 51.95 kB / 0.5632 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.3346, allocations: 431.8 kB / 0.5636 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.335, allocations: 121.2 kB / 0.5637 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.3351, allocations: 41.83 kB / 0.5638 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3351, allocations: 4 kB / 0.5638 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.3353, allocations: 117 kB / 0.5639 GB, free: 1.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.3353, allocations: 4 kB / 0.5639 GB, free: 1.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001325/0.3367, allocations: 0.5012 MB / 0.5644 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.3367, allocations: 81.11 kB / 0.5645 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004117/0.3371, allocations: 372.5 kB / 0.5648 GB, free: 400 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.3372, allocations: 33.7 kB / 0.5648 GB, free: 360 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3373, allocations: 144.5 kB / 0.565 GB, free: 208 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.41e-05/0.3373, allocations: 79.38 kB / 0.5651 GB, free: 128 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.3374, allocations: 41.7 kB / 0.5651 GB, free: 80 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3376, allocations: 342.8 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.3377, allocations: 55.97 kB / 0.5655 GB, free: 15.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.3379, allocations: 91.33 kB / 0.5656 GB, free: 15.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.3381, allocations: 159.4 kB / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3381, allocations: 0 / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004235/0.3386, allocations: 237.5 kB / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3386, allocations: 4 kB / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3386, allocations: 0 / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3386, allocations: 4 kB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.3388, allocations: 55.92 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3388, allocations: 7.938 kB / 0.566 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.596e-05/0.3388, allocations: 11.98 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.3389, allocations: 8 kB / 0.566 GB, free: 15.08 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.0001513/0.339, allocations: 154.3 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.3391, allocations: 35.73 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.3396, allocations: 263.8 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3396, allocations: 4 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3396, allocations: 4 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3396, allocations: 3.984 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009555/0.3406, allocations: 0.695 MB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3406, allocations: 0 / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.732e-05/0.3407, allocations: 32.06 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.3407, allocations: 7.984 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.3407, allocations: 8 kB / 0.5672 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3407, allocations: 4 kB / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3407, allocations: 3.938 kB / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.3412, allocations: 423.3 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.3412, allocations: 19.86 kB / 0.5676 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.3413, allocations: 8 kB / 0.5676 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3414, allocations: 7.984 kB / 0.5676 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.3415, allocations: 23.91 kB / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.3415, allocations: 16 kB / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002933/0.3418, allocations: 279 kB / 0.5679 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3418, allocations: 0 / 0.5679 GB, free: 13.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.3422, allocations: 47.92 kB / 0.568 GB, free: 12.96 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 (22): * Single equations (assignments): 18 * 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.002723/0.3449, allocations: 1.373 MB / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003892/0.3453, allocations: 150.4 kB / 0.5695 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.3453, allocations: 4 kB / 0.5695 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3454, allocations: 79.97 kB / 0.5696 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.346, allocations: 61.25 kB / 0.5696 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.3494, allocations: 2.711 MB / 0.5723 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.3498, allocations: 0.7597 MB / 0.573 GB, free: 7.859 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.35, allocations: 45.91 kB / 0.573 GB, free: 7.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.3501, allocations: 87.41 kB / 0.5731 GB, free: 7.73 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3501, allocations: 0 / 0.5731 GB, free: 7.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.3769, allocations: 6.381 MB / 0.5794 GB, free: 1.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.97, allocations: 10.77 kB / 0.5794 GB, free: 1.434 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.166746210015845]