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.001768/0.001768, allocations: 107.9 kB / 20.48 MB, free: 1.262 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.002172/0.002172, allocations: 210.1 kB / 23.78 MB, free: 4.434 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.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 7.707 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.2395/0.2395, allocations: 46.94 MB / 360.9 MB, free: 3.859 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.002275/0.002275, allocations: 79.88 kB / 0.4963 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3281, allocations: 66.1 MB / 0.5608 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003373/0.3315, allocations: 1.77 MB / 0.5626 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.3342, allocations: 1.735 MB / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.239e-05/0.3343, allocations: 7.938 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.3346, allocations: 51.69 kB / 0.5643 GB, free: 348 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.335, allocations: 143.4 kB / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.3353, allocations: 107.6 kB / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.3356, allocations: 211.3 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.823e-05/0.3356, allocations: 5.812 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.3357, allocations: 83.64 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.3359, allocations: 87.53 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.336, allocations: 8 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.3362, allocations: 107.9 kB / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.3362, allocations: 35.84 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.3363, allocations: 55.7 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.3367, allocations: 224.9 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3367, allocations: 0 / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3367, allocations: 0 / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.3367, allocations: 0 / 0.5653 GB, free: 15.29 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.0007319/0.3374, allocations: 440.9 kB / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3374, allocations: 8.031 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.3375, allocations: 38.75 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.3375, allocations: 16.84 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.3379, allocations: 190.1 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.3379, allocations: 4.375 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.3379, allocations: 8.359 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.3382, allocations: 156.6 kB / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.3382, allocations: 3.938 kB / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3382, allocations: 0 / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3382, allocations: 4 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.3383, allocations: 39.91 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.3386, allocations: 177.7 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.3389, allocations: 105.2 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.879e-05/0.339, allocations: 37.7 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.339, allocations: 4 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/0.3392, allocations: 116.9 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.3392, allocations: 0 / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004863/0.3397, allocations: 177.5 kB / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.928e-05/0.3398, allocations: 132.5 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.3401, allocations: 250.2 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3401, allocations: 25.7 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.3402, allocations: 116.1 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.3402, allocations: 39.73 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.3403, allocations: 25.7 kB / 0.5674 GB, free: 12.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3405, allocations: 334.8 kB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/0.3406, allocations: 27.98 kB / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.3407, allocations: 128.5 kB / 0.5678 GB, free: 12.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.3409, allocations: 99.84 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3409, allocations: 0 / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000286/0.3412, allocations: 141.4 kB / 0.5681 GB, free: 12.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3412, allocations: 8.094 kB / 0.5681 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3412, allocations: 0 / 0.5681 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3413, allocations: 4 kB / 0.5681 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3414, allocations: 27.92 kB / 0.5681 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3414, allocations: 4 kB / 0.5681 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.052e-05/0.3415, allocations: 7.953 kB / 0.5681 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.3415, allocations: 4 kB / 0.5681 GB, free: 12.14 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.0001284/0.3416, allocations: 133.8 kB / 0.5682 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.3417, allocations: 19.84 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003687/0.342, allocations: 170.7 kB / 0.5684 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.342, allocations: 0 / 0.5684 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.342, allocations: 4 kB / 0.5684 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.342, allocations: 0 / 0.5684 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.3422, allocations: 196.5 kB / 0.5686 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-06/0.3423, allocations: 3.938 kB / 0.5686 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.3423, allocations: 16.23 kB / 0.5686 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3423, allocations: 3.984 kB / 0.5686 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3423, allocations: 4 kB / 0.5686 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3423, allocations: 4 kB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3423, allocations: 4 kB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.3427, allocations: 185.8 kB / 0.5688 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.3427, allocations: 19.8 kB / 0.5689 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.3427, allocations: 15.92 kB / 0.5689 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.3428, allocations: 4 kB / 0.5689 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.3428, allocations: 7.984 kB / 0.5689 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3429, allocations: 8 kB / 0.5689 GB, free: 11.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.3431, allocations: 184.5 kB / 0.5691 GB, free: 11.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3431, allocations: 4 kB / 0.5691 GB, free: 11.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.3434, allocations: 55.86 kB / 0.5691 GB, free: 11.04 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 (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.002357/0.3457, allocations: 1.146 MB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.346, allocations: 83.89 kB / 0.5703 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.346, allocations: 0 / 0.5703 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.3461, allocations: 43.97 kB / 0.5704 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3465, allocations: 56.42 kB / 0.5704 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.3489, allocations: 1.913 MB / 0.5723 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.349, allocations: 111.6 kB / 0.5724 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.3491, allocations: 29.47 kB / 0.5724 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.3492, allocations: 64.41 kB / 0.5725 GB, free: 7.625 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3492, allocations: 0 / 0.5725 GB, free: 7.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.3824, allocations: 6.304 MB / 0.5786 GB, free: 1.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 9.281 kB / 0.5786 GB, free: 1.344 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: 15.309667435998563]