Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001309/0.001309, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001661/0.001661, allocations: 214 kB / 23.74 MB, free: 4.66 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.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2427/0.2427, allocations: 46.92 MB / 360.8 MB, free: 4.18 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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 84.14 kB / 0.4963 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3309, allocations: 66.09 MB / 0.5608 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003145/0.334, allocations: 1.834 MB / 0.5626 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.3367, allocations: 1.801 MB / 0.5643 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.021e-05/0.3368, allocations: 3.938 kB / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.3371, allocations: 55.69 kB / 0.5644 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.3375, allocations: 135.4 kB / 0.5645 GB, free: 408 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.3377, allocations: 107.6 kB / 0.5646 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.338, allocations: 215.3 kB / 0.5648 GB, free: 84 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.184e-05/0.3381, allocations: 9.812 kB / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.3383, allocations: 95.64 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.3385, allocations: 79.59 kB / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.3385, allocations: 8 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.3387, allocations: 119.9 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.3388, allocations: 35.84 kB / 0.5652 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.342e-05/0.3389, allocations: 63.55 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.3393, allocations: 228.9 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3393, allocations: 0 / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3393, allocations: 3.938 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3393, allocations: 0 / 0.5655 GB, free: 15.45 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.0007144/0.34, allocations: 429 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3401, allocations: 15.97 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.932e-05/0.3401, allocations: 34.69 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.3402, allocations: 24.83 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.3406, allocations: 194.1 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3406, allocations: 4.375 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3406, allocations: 4.375 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.3408, allocations: 117.1 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3409, allocations: 0 / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3409, allocations: 0 / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3409, allocations: 4 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.341, allocations: 31.97 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.3413, allocations: 193.6 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.3415, allocations: 101.2 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.233e-05/0.3416, allocations: 33.7 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.3417, allocations: 4 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.342, allocations: 113 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.814e-06/0.342, allocations: 0 / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004987/0.3425, allocations: 169.9 kB / 0.5669 GB, free: 13.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/0.3426, allocations: 132.5 kB / 0.567 GB, free: 13.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.3428, allocations: 238.3 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3429, allocations: 33.7 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.343, allocations: 116.1 kB / 0.5674 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.343, allocations: 31.73 kB / 0.5674 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.3431, allocations: 25.72 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3432, allocations: 330.8 kB / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.328e-05/0.3433, allocations: 27.98 kB / 0.5678 GB, free: 12.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3434, allocations: 76.39 kB / 0.5678 GB, free: 12.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.3436, allocations: 95.41 kB / 0.5679 GB, free: 12.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3436, allocations: 0 / 0.5679 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002842/0.3439, allocations: 141.4 kB / 0.5681 GB, free: 12.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3439, allocations: 8 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3439, allocations: 0 / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3439, allocations: 4 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.344, allocations: 19.98 kB / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.344, allocations: 0 / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.509e-05/0.3441, allocations: 19.94 kB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3441, allocations: 7.938 kB / 0.5681 GB, free: 12.45 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.0001385/0.3443, allocations: 137.8 kB / 0.5682 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.3443, allocations: 23.84 kB / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000347/0.3447, allocations: 146.7 kB / 0.5684 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3447, allocations: 4.25 kB / 0.5684 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3447, allocations: 0 / 0.5684 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3447, allocations: 4 kB / 0.5684 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.3449, allocations: 200.5 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.3449, allocations: 3.938 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.3449, allocations: 15.98 kB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3449, allocations: 7.984 kB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3449, allocations: 0 / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.3449, allocations: 4 kB / 0.5686 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3449, allocations: 0 / 0.5686 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.3452, allocations: 161.8 kB / 0.5688 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.3453, allocations: 27.83 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.3453, allocations: 0 / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.3454, allocations: 11.98 kB / 0.5688 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.3455, allocations: 11.98 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.3455, allocations: 4 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.3457, allocations: 184.4 kB / 0.569 GB, free: 11.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3457, allocations: 0 / 0.569 GB, free: 11.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.346, allocations: 51.86 kB / 0.5691 GB, free: 11.39 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.002335/0.3483, allocations: 1.101 MB / 0.5701 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.3486, allocations: 75.89 kB / 0.5702 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.3486, allocations: 4 kB / 0.5702 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.3488, allocations: 36.3 kB / 0.5703 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.3492, allocations: 59.69 kB / 0.5703 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.3517, allocations: 1.881 MB / 0.5721 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.352, allocations: 0.7281 MB / 0.5729 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.3522, allocations: 29.61 kB / 0.5729 GB, free: 7.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3523, allocations: 59.41 kB / 0.5729 GB, free: 7.418 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3523, allocations: 0 / 0.5729 GB, free: 7.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.3868, allocations: 5.506 MB / 0.5783 GB, free: 1.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.76, allocations: 10.11 kB / 0.5783 GB, free: 1.926 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_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_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.911524650000501]