Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001358/0.001358, allocations: 114 kB / 20.44 MB, free: 1.469 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.001376/0.001376, allocations: 213.4 kB / 23.74 MB, free: 4.695 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2853/0.2853, allocations: 46.92 MB / 360.8 MB, free: 4.18 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002956/0.002956, allocations: 83.86 kB / 0.4963 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4206, allocations: 66.08 MB / 0.5608 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004575/0.4252, allocations: 1.796 MB / 0.5626 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.4276, allocations: 1.049 MB / 0.5636 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.4277, allocations: 7.938 kB / 0.5636 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004434/0.4282, allocations: 111.7 kB / 0.5637 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000634/0.4288, allocations: 127.5 kB / 0.5638 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.4292, allocations: 79.72 kB / 0.5639 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.4296, allocations: 135.6 kB / 0.564 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.4297, allocations: 19.39 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.4299, allocations: 63.77 kB / 0.5641 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.4301, allocations: 75.73 kB / 0.5642 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.4301, allocations: 8 kB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.4303, allocations: 75.89 kB / 0.5643 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.4304, allocations: 35.86 kB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.813e-05/0.4305, allocations: 47.66 kB / 0.5643 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.4309, allocations: 163.3 kB / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4309, allocations: 0 / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4309, allocations: 0 / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.4309, allocations: 0 / 0.5645 GB, free: 0.5117 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000771/0.4317, allocations: 393.1 kB / 0.5649 GB, free: 100 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.4317, allocations: 12.03 kB / 0.5649 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.656e-05/0.4318, allocations: 38.75 kB / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.4318, allocations: 20.83 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.4323, allocations: 163.2 kB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.4323, allocations: 8.359 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.4323, allocations: 8.375 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.4326, allocations: 73.78 kB / 0.5652 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.4326, allocations: 3.953 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4326, allocations: 0 / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4326, allocations: 0 / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.4327, allocations: 43.91 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.4334, allocations: 299.8 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.4337, allocations: 74.48 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.4338, allocations: 24.84 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.4339, allocations: 4 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.4341, allocations: 83.31 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.4341, allocations: 0 / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001132/0.4352, allocations: 301.1 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.4353, allocations: 59.33 kB / 0.566 GB, free: 14.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.4357, allocations: 259.7 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.4357, allocations: 29.7 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.4358, allocations: 120.1 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.231e-05/0.4359, allocations: 55.72 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.436, allocations: 29.72 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002684/0.4362, allocations: 330.8 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.4363, allocations: 35.98 kB / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.4365, allocations: 60.08 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.4367, allocations: 104.8 kB / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4367, allocations: 0 / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000404/0.4371, allocations: 165.5 kB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.4372, allocations: 10.34 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4372, allocations: 0 / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.4372, allocations: 0 / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.4373, allocations: 27.98 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.4373, allocations: 3.938 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.4374, allocations: 4 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.4374, allocations: 12.88 kB / 0.5672 GB, free: 13.51 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 (16): * Single equations (assignments): 16 * 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.0001726/0.4376, allocations: 137.8 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.4377, allocations: 23.86 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004808/0.4381, allocations: 179.1 kB / 0.5675 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.4381, allocations: 4 kB / 0.5675 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.4382, allocations: 3.938 kB / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4382, allocations: 0 / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009273/0.4391, allocations: 479.1 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4391, allocations: 0 / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.4393, allocations: 27.92 kB / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.4393, allocations: 4 kB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.4393, allocations: 4 kB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.4393, allocations: 0 / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.4393, allocations: 3.984 kB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.4398, allocations: 268.3 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.4398, allocations: 11.91 kB / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.4399, allocations: 11.98 kB / 0.5683 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.44, allocations: 0 / 0.5683 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.44, allocations: 11.98 kB / 0.5683 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.4401, allocations: 8 kB / 0.5683 GB, free: 12.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002579/0.4403, allocations: 197.5 kB / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4403, allocations: 0 / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005204/0.4409, allocations: 39.89 kB / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.003473/0.4443, allocations: 1.202 MB / 0.5697 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.4447, allocations: 91.91 kB / 0.5698 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4447, allocations: 3.938 kB / 0.5698 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.4449, allocations: 47.86 kB / 0.5699 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.4454, allocations: 35.97 kB / 0.5699 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.4487, allocations: 2.006 MB / 0.5719 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.4491, allocations: 0.7279 MB / 0.5726 GB, free: 7.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.84e-05/0.4492, allocations: 25.41 kB / 0.5726 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.4493, allocations: 51.42 kB / 0.5727 GB, free: 7.879 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4493, allocations: 4 kB / 0.5727 GB, free: 7.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/0.4822, allocations: 4.547 MB / 0.5771 GB, free: 3.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.38, allocations: 8.969 kB / 0.5771 GB, free: 3.375 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.652538036003534]