Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.001404/0.001404, allocations: 114 kB / 20.43 MB, free: 1.457 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.001608/0.001608, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.578/1.578, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.92 MB / 360.8 MB, free: 4.262 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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 79.88 kB / 0.4963 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4172, allocations: 66.08 MB / 0.5608 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003454/0.4206, allocations: 1.733 MB / 0.5625 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.4225, allocations: 1.053 MB / 0.5635 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.138e-05/0.4226, allocations: 0 / 0.5635 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.4229, allocations: 43.77 kB / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.4232, allocations: 91.53 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.4235, allocations: 79.67 kB / 0.5637 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.4236, allocations: 111.7 kB / 0.5638 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.4237, allocations: 6.109 kB / 0.5638 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.4239, allocations: 55.7 kB / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.33e-05/0.4239, allocations: 27.86 kB / 0.5639 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.424, allocations: 4 kB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.424, allocations: 39.98 kB / 0.564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.4241, allocations: 19.91 kB / 0.564 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.4242, allocations: 39.67 kB / 0.564 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.4244, allocations: 115.5 kB / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4244, allocations: 0 / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4244, allocations: 0 / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.4244, allocations: 4 kB / 0.5641 GB, free: 0.9883 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.0005676/0.425, allocations: 337.6 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.425, allocations: 12.03 kB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.425, allocations: 30.75 kB / 0.5645 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.4251, allocations: 12.88 kB / 0.5645 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.4254, allocations: 158.3 kB / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.4254, allocations: 384 / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.4254, allocations: 4.375 kB / 0.5647 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.4256, allocations: 61.8 kB / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4256, allocations: 0 / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.4256, allocations: 0 / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4256, allocations: 4 kB / 0.5647 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.397e-05/0.4257, allocations: 15.98 kB / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.4261, allocations: 259.9 kB / 0.565 GB, free: 0 / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.4263, allocations: 66.61 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.4263, allocations: 16.86 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.4263, allocations: 0 / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.4265, allocations: 67.33 kB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.4265, allocations: 0 / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005573/0.4271, allocations: 173.4 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.4271, allocations: 59.41 kB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.4273, allocations: 167.5 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.4273, allocations: 37.69 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.4274, allocations: 96.14 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.4274, allocations: 31.77 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.4274, allocations: 21.72 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4276, allocations: 330.7 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-05/0.4277, allocations: 23.98 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.715e-05/0.4277, allocations: 37.7 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.4278, allocations: 53.72 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4278, allocations: 0 / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001967/0.428, allocations: 105.5 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.428, allocations: 4 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4281, allocations: 4 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4281, allocations: 4.031 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.4282, allocations: 15.98 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.4282, allocations: 0 / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.158e-05/0.4282, allocations: 7.938 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4282, allocations: 4 kB / 0.5663 GB, free: 14.6 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.0001103/0.4283, allocations: 124 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.4284, allocations: 15.94 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.4286, allocations: 110.5 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4286, allocations: 4 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4286, allocations: 3.984 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4286, allocations: 0 / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.4291, allocations: 366.3 kB / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4291, allocations: 0 / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.4291, allocations: 11.94 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4291, allocations: 0 / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4291, allocations: 4.188 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/0.4291, allocations: 7.938 kB / 0.5669 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.4291, allocations: 7.969 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.4294, allocations: 204.2 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.4294, allocations: 11.91 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.4294, allocations: 4 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.4295, allocations: 7.938 kB / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.4295, allocations: 8.359 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.4295, allocations: 4 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.4296, allocations: 131.2 kB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4296, allocations: 4 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.4299, allocations: 27.92 kB / 0.5673 GB, free: 13.48 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.002136/0.432, allocations: 1.077 MB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.4322, allocations: 63.84 kB / 0.5684 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4322, allocations: 4.062 kB / 0.5684 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.516e-05/0.4323, allocations: 31.91 kB / 0.5684 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.4327, allocations: 35.19 kB / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.4346, allocations: 1.594 MB / 0.57 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.4349, allocations: 0.7002 MB / 0.5707 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.806e-05/0.435, allocations: 16.97 kB / 0.5707 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.059e-05/0.4351, allocations: 31.44 kB / 0.5707 GB, free: 9.941 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4351, allocations: 0 / 0.5707 GB, free: 9.941 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.4646, allocations: 3.507 MB / 0.5742 GB, free: 6.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.22, allocations: 6.656 kB / 0.5742 GB, free: 6.469 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.51550756800134]