Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.001662/0.001662, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002067/0.002067, allocations: 213.1 kB / 24.54 MB, free: 4.016 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.43/1.43, allocations: 230.3 MB / 258 MB, free: 8.262 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.2193/0.2193, allocations: 46.9 MB / 361.3 MB, free: 4.441 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.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 75.88 kB / 0.4966 GB, free: 8.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3403, allocations: 66.04 MB / 0.5611 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003687/0.3439, allocations: 1.737 MB / 0.5628 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3458, allocations: 1.053 MB / 0.5639 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.451e-05/0.3459, allocations: 3.938 kB / 0.5639 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.3462, allocations: 43.81 kB / 0.5639 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.3466, allocations: 103.5 kB / 0.564 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.3468, allocations: 87.59 kB / 0.5641 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.347, allocations: 99.77 kB / 0.5642 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3471, allocations: 9.953 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.3472, allocations: 39.8 kB / 0.5642 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.844e-05/0.3473, allocations: 47.7 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.3474, allocations: 4 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3475, allocations: 39.98 kB / 0.5643 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.3475, allocations: 27.91 kB / 0.5643 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.31e-05/0.3476, allocations: 39.69 kB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.3478, allocations: 131.4 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3478, allocations: 4 kB / 0.5645 GB, free: 1.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3478, allocations: 0 / 0.5645 GB, free: 1.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3479, allocations: 0 / 0.5645 GB, free: 1.203 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.0006375/0.3485, allocations: 442.5 kB / 0.5649 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3485, allocations: 8.031 kB / 0.5649 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.3486, allocations: 30.75 kB / 0.565 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.3486, allocations: 12.89 kB / 0.565 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.349, allocations: 221 kB / 0.5652 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.349, allocations: 384 / 0.5652 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.349, allocations: 4.375 kB / 0.5652 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.3492, allocations: 57.8 kB / 0.5652 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3492, allocations: 7.922 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3492, allocations: 3.938 kB / 0.5653 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3492, allocations: 7.984 kB / 0.5653 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.3493, allocations: 12 kB / 0.5653 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.3497, allocations: 300.8 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.3499, allocations: 58.61 kB / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.35, allocations: 16.86 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.35, allocations: 0 / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.3502, allocations: 67.39 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3502, allocations: 0 / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005868/0.3508, allocations: 185.3 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.3508, allocations: 51.41 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.3511, allocations: 239 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3511, allocations: 25.7 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.3512, allocations: 112 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3512, allocations: 31.83 kB / 0.5663 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.3513, allocations: 25.72 kB / 0.5663 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3514, allocations: 330.8 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.554e-05/0.3515, allocations: 20 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.3515, allocations: 37.64 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.3516, allocations: 61.7 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3516, allocations: 4 kB / 0.5668 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.3518, allocations: 105.5 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3518, allocations: 4 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3518, allocations: 0 / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3519, allocations: 384 / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.753e-05/0.352, allocations: 19.98 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.352, allocations: 0 / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.352, allocations: 4 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-06/0.352, allocations: 4 kB / 0.5669 GB, free: 14.49 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.0001218/0.3521, allocations: 144 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.3522, allocations: 19.84 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.3525, allocations: 115 kB / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.3525, allocations: 4 kB / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3525, allocations: 0 / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3525, allocations: 3.984 kB / 0.5672 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.353, allocations: 399.4 kB / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.353, allocations: 8.031 kB / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.353, allocations: 7.984 kB / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.353, allocations: 4 kB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.353, allocations: 4 kB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.353, allocations: 3.938 kB / 0.5676 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.353, allocations: 4 kB / 0.5676 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.3533, allocations: 208.2 kB / 0.5678 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.3534, allocations: 93.02 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.3534, allocations: 0 / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.232e-05/0.3535, allocations: 11.92 kB / 0.5679 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.3536, allocations: 0 / 0.5679 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.3536, allocations: 7.984 kB / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.3537, allocations: 175.2 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3537, allocations: 192 / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.354, allocations: 23.98 kB / 0.5681 GB, free: 13.16 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 (8): * Single equations (assignments): 6 * 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.00217/0.3562, allocations: 1.083 MB / 0.5691 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.3564, allocations: 67.83 kB / 0.5692 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3564, allocations: 0 / 0.5692 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.872e-05/0.3564, allocations: 23.94 kB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.3568, allocations: 40.2 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.3588, allocations: 1.75 MB / 0.571 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.3591, allocations: 0.7118 MB / 0.5717 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.607e-05/0.3592, allocations: 20.97 kB / 0.5717 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/0.3593, allocations: 47.42 kB / 0.5717 GB, free: 9.445 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3593, allocations: 0 / 0.5717 GB, free: 9.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.3823, allocations: 3.674 MB / 0.5753 GB, free: 5.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.346, allocations: 7.172 kB / 0.5753 GB, free: 5.777 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.40021157101728]