Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001438/0.001438, allocations: 117.7 kB / 20.32 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001715/0.001715, allocations: 206.8 kB / 23.6 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.4 MB / 257.1 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 46.94 MB / 360.5 MB, free: 4.305 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 87.8 kB / 0.4959 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3316, allocations: 66.08 MB / 0.5604 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00318/0.3348, allocations: 1.78 MB / 0.5621 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.3375, allocations: 1.733 MB / 0.5638 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-05/0.3376, allocations: 4 kB / 0.5638 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.3379, allocations: 59.61 kB / 0.5639 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004056/0.3383, allocations: 143.4 kB / 0.564 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.3385, allocations: 99.7 kB / 0.5641 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.3388, allocations: 215.2 kB / 0.5643 GB, free: 256 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/0.3389, allocations: 5.812 kB / 0.5643 GB, free: 248 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.339, allocations: 91.61 kB / 0.5644 GB, free: 156 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.3392, allocations: 79.56 kB / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.3392, allocations: 12 kB / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.3394, allocations: 107.9 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.69e-05/0.3395, allocations: 39.83 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.3396, allocations: 47.67 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.34, allocations: 228.9 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.34, allocations: 11.94 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.34, allocations: 0 / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.34, allocations: 0 / 0.5649 GB, free: 15.64 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.0007103/0.3407, allocations: 424.9 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3407, allocations: 8.031 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.3408, allocations: 38.75 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.3408, allocations: 16.84 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.3412, allocations: 194.2 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.3412, allocations: 4.312 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.3412, allocations: 8.375 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.3415, allocations: 156.6 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3415, allocations: 0 / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3415, allocations: 0 / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3415, allocations: 4 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.3416, allocations: 35.91 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.3418, allocations: 177.6 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.3421, allocations: 93.23 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.898e-05/0.3422, allocations: 49.62 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3422, allocations: 3.938 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.3425, allocations: 117 kB / 0.5662 GB, free: 14.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.3425, allocations: 0 / 0.5662 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004767/0.343, allocations: 165.4 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.343, allocations: 132.5 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.3433, allocations: 242.2 kB / 0.5667 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.3434, allocations: 33.7 kB / 0.5667 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/0.3435, allocations: 120.1 kB / 0.5669 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.3435, allocations: 27.75 kB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.3436, allocations: 29.7 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3437, allocations: 330.8 kB / 0.5672 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.621e-05/0.3438, allocations: 27.98 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.344, allocations: 124.5 kB / 0.5674 GB, free: 12.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.3442, allocations: 95.89 kB / 0.5675 GB, free: 12.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3442, allocations: 0 / 0.5675 GB, free: 12.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003061/0.3445, allocations: 137.4 kB / 0.5676 GB, free: 12.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3445, allocations: 8 kB / 0.5676 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3445, allocations: 0 / 0.5676 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3445, allocations: 0 / 0.5676 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3446, allocations: 27.92 kB / 0.5676 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3446, allocations: 0 / 0.5676 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.744e-05/0.3447, allocations: 15.95 kB / 0.5676 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3447, allocations: 8.062 kB / 0.5677 GB, free: 12.54 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001246/0.3448, allocations: 131.1 kB / 0.5678 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.3449, allocations: 23.84 kB / 0.5678 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/0.3453, allocations: 150.7 kB / 0.5679 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3453, allocations: 0 / 0.5679 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3453, allocations: 4 kB / 0.5679 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3453, allocations: 7.969 kB / 0.568 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.3455, allocations: 184.6 kB / 0.5681 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3455, allocations: 7.938 kB / 0.5681 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.3455, allocations: 7.938 kB / 0.5681 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3455, allocations: 4.25 kB / 0.5681 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3455, allocations: 4 kB / 0.5682 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.3455, allocations: 4 kB / 0.5682 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3455, allocations: 0 / 0.5682 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.3459, allocations: 185.7 kB / 0.5683 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.3459, allocations: 15.84 kB / 0.5683 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.3459, allocations: 4 kB / 0.5684 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.346, allocations: 7.984 kB / 0.5684 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.3461, allocations: 7.984 kB / 0.5684 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.3461, allocations: 12 kB / 0.5684 GB, free: 11.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.3463, allocations: 176.5 kB / 0.5685 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3463, allocations: 0 / 0.5685 GB, free: 11.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.3466, allocations: 55.86 kB / 0.5686 GB, free: 11.48 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (10): * Single equations (assignments): 6 * 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.002313/0.3489, allocations: 1.092 MB / 0.5697 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.3491, allocations: 87.83 kB / 0.5698 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3492, allocations: 3.938 kB / 0.5698 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3493, allocations: 31.98 kB / 0.5698 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.3496, allocations: 58.98 kB / 0.5698 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.352, allocations: 1.888 MB / 0.5717 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.3521, allocations: 115.4 kB / 0.5718 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.994e-05/0.3522, allocations: 29.62 kB / 0.5718 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.3523, allocations: 55.41 kB / 0.5719 GB, free: 8.141 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3523, allocations: 0 / 0.5719 GB, free: 8.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.3864, allocations: 5.462 MB / 0.5772 GB, free: 2.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.4, allocations: 9.875 kB / 0.5772 GB, free: 2.688 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.517250521981623]