Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001978/0.001978, allocations: 110 kB / 20.43 MB, free: 1.453 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.002429/0.002429, allocations: 213.9 kB / 23.74 MB, free: 4.66 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.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.2473/0.2473, allocations: 46.93 MB / 360.8 MB, free: 4.172 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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 84.19 kB / 0.4963 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4087, allocations: 66.08 MB / 0.5608 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003358/0.412, allocations: 1.775 MB / 0.5625 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.4139, allocations: 1.041 MB / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.04e-05/0.414, allocations: 7.938 kB / 0.5636 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003675/0.4144, allocations: 95.62 kB / 0.5636 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.4147, allocations: 115.6 kB / 0.5638 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.4149, allocations: 79.67 kB / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.4152, allocations: 123.6 kB / 0.564 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.4153, allocations: 17.81 kB / 0.564 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.4154, allocations: 59.75 kB / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.4155, allocations: 59.77 kB / 0.5641 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.4155, allocations: 8 kB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.4156, allocations: 67.95 kB / 0.5642 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.471e-05/0.4157, allocations: 23.86 kB / 0.5642 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.4158, allocations: 35.75 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.416, allocations: 143.4 kB / 0.5643 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.416, allocations: 0 / 0.5643 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.416, allocations: 0 / 0.5643 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.416, allocations: 0 / 0.5643 GB, free: 0.5977 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005882/0.4166, allocations: 373.3 kB / 0.5647 GB, free: 208 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4166, allocations: 12.03 kB / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.4167, allocations: 34.75 kB / 0.5647 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.4167, allocations: 16.84 kB / 0.5648 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.417, allocations: 156.7 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.4171, allocations: 4.375 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.4171, allocations: 384 / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.4173, allocations: 63.34 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4173, allocations: 3.953 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4173, allocations: 4 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.4173, allocations: 8 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.227e-05/0.4174, allocations: 23.92 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.4178, allocations: 267.9 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.418, allocations: 54.55 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/0.4181, allocations: 20.98 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.4181, allocations: 4 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.4183, allocations: 83.31 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.4183, allocations: 0 / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007687/0.4191, allocations: 241.8 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.4191, allocations: 51.41 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.4193, allocations: 219.5 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.4194, allocations: 37.7 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.4194, allocations: 104.1 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.4195, allocations: 43.67 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.4195, allocations: 29.7 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4197, allocations: 322.8 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.4198, allocations: 31.98 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.027e-05/0.4198, allocations: 45.64 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.42, allocations: 85.64 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.42, allocations: 3.938 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002277/0.4202, allocations: 121.5 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4202, allocations: 5.875 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.4202, allocations: 11.92 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4203, allocations: 3.984 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.217e-05/0.4203, allocations: 20 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.4203, allocations: 4.062 kB / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.4204, allocations: 16.02 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.4204, allocations: 4 kB / 0.5668 GB, free: 13.9 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 (13): * Single equations (assignments): 13 * 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.0001242/0.4205, allocations: 139 kB / 0.5669 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.4206, allocations: 15.91 kB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.4209, allocations: 146.9 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4209, allocations: 0 / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4209, allocations: 0 / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4209, allocations: 0 / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.4214, allocations: 431.1 kB / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4214, allocations: 0 / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.4215, allocations: 12 kB / 0.5675 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4215, allocations: 0 / 0.5675 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4215, allocations: 7.984 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4215, allocations: 0 / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4215, allocations: 7.938 kB / 0.5675 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.4218, allocations: 237.4 kB / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.4218, allocations: 7.953 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.4218, allocations: 7.984 kB / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.4219, allocations: 4 kB / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.4219, allocations: 15.86 kB / 0.5678 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.422, allocations: 8 kB / 0.5678 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.4221, allocations: 165.2 kB / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4221, allocations: 0 / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.4224, allocations: 31.92 kB / 0.568 GB, free: 12.59 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 (11): * Single equations (assignments): 9 * 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.002416/0.4248, allocations: 1.169 MB / 0.5691 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.425, allocations: 75.91 kB / 0.5692 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.425, allocations: 0 / 0.5692 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.4252, allocations: 35.92 kB / 0.5692 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.4256, allocations: 39.66 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.4277, allocations: 1.817 MB / 0.571 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.4281, allocations: 0.7158 MB / 0.5717 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.17e-05/0.4281, allocations: 20.64 kB / 0.5717 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.4282, allocations: 47.41 kB / 0.5718 GB, free: 8.707 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4282, allocations: 0 / 0.5718 GB, free: 8.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.4589, allocations: 4.07 MB / 0.5758 GB, free: 4.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.23, allocations: 4.062 kB / 0.5758 GB, free: 4.676 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_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_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.475763999995252]