Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.001312/0.001312, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001462/0.001462, allocations: 203.4 kB / 23.72 MB, free: 4.391 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.491/1.491, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.238/0.238, allocations: 46.94 MB / 360.8 MB, free: 3.891 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.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 75.88 kB / 0.4962 GB, free: 7.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3435, allocations: 66.08 MB / 0.5607 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004455/0.348, allocations: 1.714 MB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.3504, allocations: 0.9748 MB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.496e-05/0.3505, allocations: 0 / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.3509, allocations: 83.7 kB / 0.5635 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004745/0.3514, allocations: 115.6 kB / 0.5636 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.3517, allocations: 79.66 kB / 0.5636 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.3519, allocations: 119.6 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3521, allocations: 13.81 kB / 0.5638 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3522, allocations: 55.78 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.3523, allocations: 63.73 kB / 0.5639 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.3524, allocations: 4 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3525, allocations: 43.98 kB / 0.5639 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.387e-05/0.3526, allocations: 23.91 kB / 0.564 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.3526, allocations: 27.75 kB / 0.564 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.3529, allocations: 131.4 kB / 0.5641 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3529, allocations: 0 / 0.5641 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3529, allocations: 0 / 0.5641 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3529, allocations: 0 / 0.5641 GB, free: 0.5312 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007156/0.3537, allocations: 357.5 kB / 0.5644 GB, free: 156 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3537, allocations: 8.031 kB / 0.5645 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.03e-05/0.3538, allocations: 30.75 kB / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.3538, allocations: 16.84 kB / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.3542, allocations: 158.3 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.3542, allocations: 4.359 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.3542, allocations: 4.375 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.3544, allocations: 65.73 kB / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3544, allocations: 0 / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3544, allocations: 0 / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.3544, allocations: 7.938 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.3546, allocations: 23.98 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.3551, allocations: 263.9 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.3553, allocations: 66.59 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.17e-05/0.3554, allocations: 20.84 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.3554, allocations: 0 / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.3556, allocations: 67.39 kB / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.3556, allocations: 0 / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007275/0.3563, allocations: 189.3 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.3564, allocations: 55.34 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.3567, allocations: 227.5 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.3568, allocations: 29.7 kB / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/0.3569, allocations: 108.1 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.3569, allocations: 27.78 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.357, allocations: 21.72 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.3572, allocations: 330.8 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.3573, allocations: 23.92 kB / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.3574, allocations: 41.7 kB / 0.5662 GB, free: 14.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.3576, allocations: 57.7 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3576, allocations: 0 / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000295/0.3579, allocations: 109.5 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3579, allocations: 8 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.3579, allocations: 0 / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3579, allocations: 0 / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.358, allocations: 12 kB / 0.5663 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.358, allocations: 7.984 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.3581, allocations: 4.031 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.3581, allocations: 4 kB / 0.5663 GB, free: 14.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001496/0.3583, allocations: 137.7 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.3583, allocations: 11.91 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.3587, allocations: 123.2 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3587, allocations: 0 / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3587, allocations: 384 / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3587, allocations: 0 / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006809/0.3593, allocations: 386.3 kB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3593, allocations: 4.031 kB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.973e-05/0.3594, allocations: 15.92 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3594, allocations: 0 / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3594, allocations: 4 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3594, allocations: 4.219 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3594, allocations: 0 / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.3598, allocations: 220.2 kB / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.3598, allocations: 15.89 kB / 0.5672 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.3599, allocations: 4 kB / 0.5672 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.36, allocations: 7.938 kB / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.36, allocations: 11.98 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.36, allocations: 4 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.3603, allocations: 169.2 kB / 0.5674 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3603, allocations: 0 / 0.5674 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004158/0.3607, allocations: 27.94 kB / 0.5674 GB, free: 12.8 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003098/0.3638, allocations: 1.13 MB / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.364, allocations: 67.84 kB / 0.5686 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.364, allocations: 4 kB / 0.5686 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3641, allocations: 27.92 kB / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.3647, allocations: 31.72 kB / 0.5687 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.3674, allocations: 1.712 MB / 0.5703 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.3675, allocations: 104.6 kB / 0.5704 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.279e-05/0.3676, allocations: 17.27 kB / 0.5705 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.936e-05/0.3677, allocations: 39.42 kB / 0.5705 GB, free: 9.715 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3677, allocations: 0 / 0.5705 GB, free: 9.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.4001, allocations: 4.264 MB / 0.5747 GB, free: 5.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.5, allocations: 7.375 kB / 0.5747 GB, free: 5.473 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.607802173122764]