Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.001312/0.001312, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001384/0.001384, allocations: 217.5 kB / 24.54 MB, free: 4.02 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.429/1.429, allocations: 230.3 MB / 258 MB, free: 8.223 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.2362/0.2362, allocations: 46.89 MB / 361.3 MB, free: 4.453 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.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 75.88 kB / 0.4966 GB, free: 8.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3727, allocations: 66.02 MB / 0.5611 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003442/0.3762, allocations: 1.747 MB / 0.5628 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.3781, allocations: 1.053 MB / 0.5639 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.3781, allocations: 3.938 kB / 0.5639 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.3785, allocations: 79.77 kB / 0.5639 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.3789, allocations: 119.5 kB / 0.564 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.3791, allocations: 87.66 kB / 0.5641 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.3794, allocations: 107.8 kB / 0.5642 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3795, allocations: 13.89 kB / 0.5642 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.3796, allocations: 55.77 kB / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.3797, allocations: 67.73 kB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.3798, allocations: 4 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.3799, allocations: 43.98 kB / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.3799, allocations: 19.92 kB / 0.5644 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.229e-05/0.38, allocations: 47.67 kB / 0.5645 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.3803, allocations: 115.5 kB / 0.5646 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3803, allocations: 4 kB / 0.5646 GB, free: 1.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3803, allocations: 0 / 0.5646 GB, free: 1.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3803, allocations: 3.938 kB / 0.5646 GB, free: 1.082 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.0007022/0.381, allocations: 434.5 kB / 0.565 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.381, allocations: 8.031 kB / 0.565 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.3811, allocations: 42.69 kB / 0.5651 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.3811, allocations: 12.84 kB / 0.5651 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.3815, allocations: 216.6 kB / 0.5653 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3815, allocations: 8.375 kB / 0.5653 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3815, allocations: 4.375 kB / 0.5653 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.3817, allocations: 57.8 kB / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3817, allocations: 7.938 kB / 0.5653 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3817, allocations: 0 / 0.5653 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3817, allocations: 0 / 0.5653 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.878e-05/0.3818, allocations: 19.98 kB / 0.5654 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.3822, allocations: 288.8 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.3824, allocations: 62.62 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.3825, allocations: 24.84 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.3825, allocations: 0 / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.3827, allocations: 67.39 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3827, allocations: 0 / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005974/0.3833, allocations: 177.3 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.3833, allocations: 55.41 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.3836, allocations: 227.5 kB / 0.5662 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.3836, allocations: 29.7 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.3837, allocations: 104.1 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.3837, allocations: 23.8 kB / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.3838, allocations: 25.7 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.384, allocations: 330.8 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.3841, allocations: 20 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.3842, allocations: 41.62 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.3843, allocations: 61.7 kB / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3843, allocations: 0 / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002303/0.3846, allocations: 97.53 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3846, allocations: 18.05 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.3846, allocations: 0 / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3846, allocations: 0 / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.3847, allocations: 12 kB / 0.567 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3847, allocations: 4 kB / 0.567 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.3847, allocations: 4 kB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.3848, allocations: 7.984 kB / 0.567 GB, free: 14.39 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.0001138/0.3849, allocations: 135.3 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.3849, allocations: 15.84 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.3851, allocations: 119 kB / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3852, allocations: 0 / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3852, allocations: 0 / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3852, allocations: 7.969 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.3857, allocations: 403.5 kB / 0.5676 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3857, allocations: 0 / 0.5676 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.3857, allocations: 15.98 kB / 0.5676 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3857, allocations: 0 / 0.5676 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3857, allocations: 4.031 kB / 0.5676 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.3857, allocations: 8.312 kB / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3857, allocations: 0 / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.386, allocations: 208.2 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.3861, allocations: 89.06 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3861, allocations: 3.938 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.3862, allocations: 15.92 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.3862, allocations: 4 kB / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.3862, allocations: 7.984 kB / 0.568 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.3864, allocations: 169.1 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3864, allocations: 0 / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3866, allocations: 27.89 kB / 0.5682 GB, free: 13.06 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.002249/0.3889, allocations: 1.077 MB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.3891, allocations: 59.86 kB / 0.5693 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3891, allocations: 4 kB / 0.5693 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.12e-05/0.3892, allocations: 23.97 kB / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3895, allocations: 42.23 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.3917, allocations: 1.718 MB / 0.571 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.392, allocations: 0.7119 MB / 0.5717 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.932e-05/0.3921, allocations: 12.97 kB / 0.5717 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.3922, allocations: 39.42 kB / 0.5717 GB, free: 9.406 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3922, allocations: 0 / 0.5717 GB, free: 9.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.4192, allocations: 3.621 MB / 0.5753 GB, free: 5.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/8.255, allocations: 3.984 kB / 0.5753 GB, free: 5.785 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.309433146147057]