Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001766/0.001766, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002012/0.002012, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.465/1.465, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.2357/0.2357, allocations: 46.95 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] 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.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004087/0.004087, allocations: 79.88 kB / 0.4962 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3637, allocations: 66.08 MB / 0.5608 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003254/0.3669, allocations: 1.73 MB / 0.5624 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3686, allocations: 0.971 MB / 0.5634 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.3687, allocations: 7.938 kB / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.369, allocations: 83.69 kB / 0.5635 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.3694, allocations: 119.6 kB / 0.5636 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.3695, allocations: 83.66 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.3697, allocations: 123.6 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3699, allocations: 17.8 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.37, allocations: 59.7 kB / 0.5639 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.3701, allocations: 67.81 kB / 0.5639 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.3701, allocations: 11.92 kB / 0.5639 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.3702, allocations: 63.97 kB / 0.564 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.3703, allocations: 27.86 kB / 0.564 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.3703, allocations: 27.8 kB / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.3706, allocations: 151.3 kB / 0.5642 GB, free: 496 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3706, allocations: 0 / 0.5642 GB, free: 496 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3706, allocations: 0 / 0.5642 GB, free: 496 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3706, allocations: 0 / 0.5642 GB, free: 496 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005649/0.3712, allocations: 377.3 kB / 0.5646 GB, free: 88 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3712, allocations: 12.03 kB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.3712, allocations: 38.73 kB / 0.5646 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.3713, allocations: 12.84 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.3716, allocations: 167 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3716, allocations: 384 / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.3716, allocations: 4.375 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.3718, allocations: 65.73 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3718, allocations: 4 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3718, allocations: 3.984 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3718, allocations: 0 / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.044e-05/0.3719, allocations: 23.98 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.3723, allocations: 271.9 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.3725, allocations: 74.47 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.3726, allocations: 16.98 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.3726, allocations: 0 / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.3728, allocations: 75.38 kB / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3728, allocations: 0 / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007613/0.3735, allocations: 253.6 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.3736, allocations: 55.41 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.3738, allocations: 246.8 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3738, allocations: 33.7 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.3739, allocations: 108.1 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.374, allocations: 43.8 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.374, allocations: 25.7 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3742, allocations: 326.8 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.348e-05/0.3742, allocations: 31.98 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-05/0.3743, allocations: 45.7 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.3745, allocations: 85.75 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3745, allocations: 0 / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002349/0.3747, allocations: 133.5 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3747, allocations: 4 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3747, allocations: 0 / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3747, allocations: 0 / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.394e-05/0.3748, allocations: 35.86 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3748, allocations: 0 / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.3749, allocations: 7.938 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.3749, allocations: 4.031 kB / 0.5667 GB, free: 13.74 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.0001165/0.375, allocations: 133.8 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.375, allocations: 11.91 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.3754, allocations: 158.9 kB / 0.567 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3754, allocations: 0 / 0.567 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3754, allocations: 0 / 0.567 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3754, allocations: 3.938 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.376, allocations: 419.2 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.376, allocations: 3.938 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.376, allocations: 27.98 kB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.376, allocations: 0 / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.376, allocations: 8 kB / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.376, allocations: 0 / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.376, allocations: 4 kB / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.3763, allocations: 241.1 kB / 0.5676 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.3764, allocations: 19.84 kB / 0.5677 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.3764, allocations: 0 / 0.5677 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.3765, allocations: 11.98 kB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.3765, allocations: 7.984 kB / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3765, allocations: 8 kB / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.3767, allocations: 179.2 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3767, allocations: 0 / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.3769, allocations: 31.88 kB / 0.5679 GB, free: 12.39 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 (12): * Single equations (assignments): 10 * 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.002593/0.3795, allocations: 1.214 MB / 0.5691 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.3798, allocations: 87.83 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3798, allocations: 64 / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/0.3799, allocations: 43.92 kB / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3802, allocations: 27.73 kB / 0.5692 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3824, allocations: 1.862 MB / 0.571 GB, free: 9.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.3825, allocations: 105.9 kB / 0.5711 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.159e-05/0.3825, allocations: 24.64 kB / 0.5712 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.969e-05/0.3826, allocations: 43.42 kB / 0.5712 GB, free: 9.047 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3826, allocations: 0 / 0.5712 GB, free: 9.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.4142, allocations: 4.63 MB / 0.5757 GB, free: 4.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.64, allocations: 10.91 kB / 0.5757 GB, free: 4.445 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.845281450077891]