Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.001337/0.001337, allocations: 104.2 kB / 20.48 MB, free: 1.125 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.001588/0.001588, allocations: 213.6 kB / 23.77 MB, free: 4.332 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.504/1.504, allocations: 230.5 MB / 257.4 MB, free: 7.703 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.2436/0.2436, allocations: 46.94 MB / 360.9 MB, free: 3.848 MB / 286.1 MB " [Timeout remaining time 179] 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.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 87.8 kB / 0.4963 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4302, allocations: 66.08 MB / 0.5608 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003803/0.434, allocations: 1.677 MB / 0.5625 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.4358, allocations: 0.9476 MB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.098e-05/0.4359, allocations: 0 / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.4362, allocations: 59.75 kB / 0.5634 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.4366, allocations: 95.61 kB / 0.5635 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.4368, allocations: 75.66 kB / 0.5636 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.437, allocations: 99.7 kB / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.825e-05/0.4371, allocations: 240 / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.4372, allocations: 47.77 kB / 0.5637 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.218e-05/0.4373, allocations: 35.8 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.4373, allocations: 4 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.4374, allocations: 31.98 kB / 0.5638 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.4375, allocations: 31.84 kB / 0.5638 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.4376, allocations: 23.81 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.4378, allocations: 125.2 kB / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4378, allocations: 0 / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4378, allocations: 4 kB / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.4378, allocations: 0 / 0.564 GB, free: 0.6758 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005923/0.4384, allocations: 377.2 kB / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4385, allocations: 12.03 kB / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.823e-05/0.4385, allocations: 30.75 kB / 0.5644 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.4386, allocations: 12.89 kB / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.4389, allocations: 159.2 kB / 0.5645 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.4389, allocations: 4.375 kB / 0.5646 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.4389, allocations: 4.375 kB / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.439, allocations: 53.8 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4391, allocations: 0 / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.4391, allocations: 0 / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.4391, allocations: 3.984 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.4391, allocations: 19.94 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.4394, allocations: 160.8 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.4395, allocations: 50.61 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.4396, allocations: 20.84 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.4396, allocations: 4 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.4398, allocations: 71.27 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.4398, allocations: 0 / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003138/0.4401, allocations: 101.6 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.4401, allocations: 55.41 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.4404, allocations: 278.8 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.4405, allocations: 29.7 kB / 0.5654 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.4405, allocations: 116.1 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.4406, allocations: 15.84 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.4406, allocations: 25.7 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4408, allocations: 322.8 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.4408, allocations: 16 kB / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.78e-05/0.4409, allocations: 41.61 kB / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.441, allocations: 49.7 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.441, allocations: 3.938 kB / 0.5659 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001905/0.4412, allocations: 97.7 kB / 0.566 GB, free: 14.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4412, allocations: 4 kB / 0.566 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.4412, allocations: 0 / 0.566 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4412, allocations: 4 kB / 0.566 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.4413, allocations: 8 kB / 0.566 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4413, allocations: 0 / 0.566 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.668e-05/0.4414, allocations: 15.94 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.4414, allocations: 4.031 kB / 0.5661 GB, free: 14.34 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 (7): * Single equations (assignments): 7 * 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.0001176/0.4415, allocations: 129.8 kB / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.4415, allocations: 19.84 kB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.4418, allocations: 102.7 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4418, allocations: 0 / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4418, allocations: 4 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4418, allocations: 0 / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.4419, allocations: 164.7 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4419, allocations: 3.938 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.774e-05/0.442, allocations: 4 kB / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.442, allocations: 4 kB / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.442, allocations: 0 / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.442, allocations: 0 / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.442, allocations: 0 / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.4422, allocations: 121 kB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.4422, allocations: 27.81 kB / 0.5666 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.4423, allocations: 4 kB / 0.5666 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.737e-05/0.4423, allocations: 0 / 0.5666 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.4423, allocations: 7.984 kB / 0.5666 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.4423, allocations: 192 / 0.5666 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.4425, allocations: 204.6 kB / 0.5668 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4425, allocations: 4 kB / 0.5668 GB, free: 13.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.4428, allocations: 23.92 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002101/0.4449, allocations: 0.9895 MB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.4451, allocations: 39.98 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4451, allocations: 4 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-05/0.4451, allocations: 27.91 kB / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.4454, allocations: 28.23 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.4476, allocations: 1.698 MB / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.4477, allocations: 101.7 kB / 0.5697 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.39e-05/0.4477, allocations: 8.5 kB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/0.4478, allocations: 43.41 kB / 0.5697 GB, free: 10.53 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4478, allocations: 0 / 0.5697 GB, free: 10.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/0.4808, allocations: 4.254 MB / 0.5739 GB, free: 6.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.67, allocations: 10.56 kB / 0.5739 GB, free: 6.289 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_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_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.891418420011178]