Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.001693/0.001693, 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.002223/0.002223, allocations: 215.3 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.5/1.5, 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.2382/0.2382, 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.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 83.86 kB / 0.4963 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4405, allocations: 66.08 MB / 0.5608 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003369/0.4439, allocations: 1.737 MB / 0.5625 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.4466, allocations: 1.742 MB / 0.5642 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.4467, allocations: 3.938 kB / 0.5642 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.447, allocations: 39.77 kB / 0.5642 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.4473, allocations: 95.59 kB / 0.5643 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.4475, allocations: 83.66 kB / 0.5644 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.4477, allocations: 103.7 kB / 0.5645 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.4478, allocations: 21.73 kB / 0.5645 GB, free: 460 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.4479, allocations: 43.8 kB / 0.5646 GB, free: 416 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.4481, allocations: 47.83 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.4481, allocations: 4 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.4483, allocations: 111.9 kB / 0.5647 GB, free: 252 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.4484, allocations: 19.92 kB / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.4484, allocations: 27.81 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.4487, allocations: 179.2 kB / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4487, allocations: 0 / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4487, allocations: 0 / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4487, allocations: 4 kB / 0.5649 GB, free: 20 kB / 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.0006359/0.4494, allocations: 353.5 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4494, allocations: 12.03 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.4495, allocations: 30.75 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.4495, allocations: 12.84 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.4498, allocations: 150.9 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.4498, allocations: 4.375 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.4499, allocations: 7.938 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.45, allocations: 79.27 kB / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4501, allocations: 4 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.4501, allocations: 3.984 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4501, allocations: 0 / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.889e-05/0.4502, allocations: 19.98 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.4506, allocations: 255.9 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.4507, allocations: 58.61 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.4508, allocations: 24.84 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.4508, allocations: 4 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.451, allocations: 63.39 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.451, allocations: 0 / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006137/0.4516, allocations: 173.4 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/0.4517, allocations: 81.11 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.4519, allocations: 174.4 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.4519, allocations: 25.7 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.452, allocations: 96.14 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.452, allocations: 31.73 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.4521, allocations: 21.72 kB / 0.5666 GB, free: 14.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4523, allocations: 322.8 kB / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.91e-05/0.4523, allocations: 23.92 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.4524, allocations: 46.56 kB / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.4525, allocations: 57.7 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4525, allocations: 4 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000212/0.4528, allocations: 97.56 kB / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4528, allocations: 4 kB / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4528, allocations: 0 / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.4528, allocations: 4 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.4529, allocations: 20.05 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.4529, allocations: 0 / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.844e-05/0.453, allocations: 11.94 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.453, allocations: 7.938 kB / 0.5671 GB, free: 13.55 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.0001275/0.4531, allocations: 117.8 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.4531, allocations: 7.953 kB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.4534, allocations: 110.4 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4534, allocations: 4 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4534, allocations: 4 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4534, allocations: 8.25 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005323/0.454, allocations: 366.6 kB / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.454, allocations: 4 kB / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.454, allocations: 11.94 kB / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.454, allocations: 7.938 kB / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.454, allocations: 0 / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.454, allocations: 80 / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.454, allocations: 7.969 kB / 0.5678 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.4543, allocations: 200.4 kB / 0.5679 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.4543, allocations: 7.953 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.4544, allocations: 11.94 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.4544, allocations: 0 / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.4545, allocations: 7.984 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.4545, allocations: 4.188 kB / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.4546, allocations: 135.9 kB / 0.5681 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4546, allocations: 3.938 kB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003396/0.455, allocations: 51.86 kB / 0.5682 GB, free: 12.41 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.002552/0.4575, allocations: 1.188 MB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.4577, allocations: 55.92 kB / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4577, allocations: 0 / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.4578, allocations: 31.92 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.4582, allocations: 27.34 kB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.4601, allocations: 1.593 MB / 0.571 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.4605, allocations: 0.6963 MB / 0.5717 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.162e-05/0.4606, allocations: 29.25 kB / 0.5717 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.4606, allocations: 39.41 kB / 0.5717 GB, free: 8.805 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4606, allocations: 0 / 0.5717 GB, free: 8.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.4933, allocations: 4.193 MB / 0.5758 GB, free: 4.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.4, allocations: 12 kB / 0.5758 GB, free: 4.613 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.667107859997486]