Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002288/0.002288, allocations: 211.4 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.229/0.229, allocations: 46.97 MB / 360.9 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 71.88 kB / 0.4962 GB, free: 7.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3802, allocations: 66.04 MB / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003142/0.3833, allocations: 1.73 MB / 0.5624 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.385, allocations: 0.9743 MB / 0.5633 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.3851, allocations: 11.94 kB / 0.5633 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.3854, allocations: 99.66 kB / 0.5634 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.3858, allocations: 127.5 kB / 0.5635 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.386, allocations: 79.67 kB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.3862, allocations: 123.7 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3863, allocations: 25.75 kB / 0.5638 GB, free: 1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.3864, allocations: 63.69 kB / 0.5638 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.3865, allocations: 63.8 kB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.3865, allocations: 4 kB / 0.5639 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.3866, allocations: 59.98 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.3867, allocations: 39.83 kB / 0.564 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.3868, allocations: 27.75 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.387, allocations: 155.3 kB / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.387, allocations: 0 / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.387, allocations: 0 / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.387, allocations: 0 / 0.5641 GB, free: 0.5938 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.0006009/0.3876, allocations: 381.3 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3877, allocations: 8.031 kB / 0.5645 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.3877, allocations: 34.73 kB / 0.5646 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.3877, allocations: 16.84 kB / 0.5646 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.388, allocations: 162.4 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3881, allocations: 4.375 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.3881, allocations: 19.83 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3882, allocations: 57.61 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3883, allocations: 4 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3883, allocations: 3.984 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3883, allocations: 4 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.619e-05/0.3884, allocations: 23.97 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.3888, allocations: 279.8 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.389, allocations: 58.48 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.3891, allocations: 20.97 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.3891, allocations: 4 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.3892, allocations: 71.33 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3892, allocations: 0 / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007732/0.39, allocations: 257.5 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.3901, allocations: 63.34 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.3903, allocations: 250.7 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3903, allocations: 29.7 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.3904, allocations: 112.1 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.3904, allocations: 43.69 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.3905, allocations: 21.72 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3906, allocations: 330.8 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.3907, allocations: 35.98 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.381e-05/0.3908, allocations: 53.64 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.391, allocations: 81.75 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.391, allocations: 0 / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002408/0.3912, allocations: 129.5 kB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3912, allocations: 4 kB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3912, allocations: 0 / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3912, allocations: 4 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.016e-05/0.3913, allocations: 31.86 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3913, allocations: 4.031 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.3914, allocations: 4 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.3914, allocations: 4 kB / 0.5666 GB, free: 13.82 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.0001234/0.3915, allocations: 129.8 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.3915, allocations: 23.83 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.3919, allocations: 155 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3919, allocations: 3.938 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3919, allocations: 0 / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3919, allocations: 0 / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.3924, allocations: 431.1 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3924, allocations: 7.984 kB / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.3925, allocations: 19.94 kB / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.3925, allocations: 0 / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3925, allocations: 4 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3925, allocations: 0 / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3925, allocations: 4 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.3928, allocations: 253 kB / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.3928, allocations: 11.91 kB / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.3929, allocations: 16.05 kB / 0.5677 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.393, allocations: 0 / 0.5677 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.393, allocations: 7.984 kB / 0.5677 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.393, allocations: 12 kB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.3932, allocations: 188.2 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3932, allocations: 0 / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.3935, allocations: 35.92 kB / 0.5679 GB, free: 12.45 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.002623/0.3961, allocations: 1.221 MB / 0.5691 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.3963, allocations: 87.84 kB / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3963, allocations: 0 / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.155e-05/0.3964, allocations: 39.92 kB / 0.5692 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.3968, allocations: 34.56 kB / 0.5692 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.399, allocations: 1.903 MB / 0.5711 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.3991, allocations: 109.3 kB / 0.5712 GB, free: 9.152 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.118e-05/0.3992, allocations: 20.62 kB / 0.5712 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.506e-05/0.3993, allocations: 51.41 kB / 0.5713 GB, free: 9.082 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3993, allocations: 0 / 0.5713 GB, free: 9.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.4288, allocations: 4.708 MB / 0.5759 GB, free: 4.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.68, allocations: 10.8 kB / 0.5759 GB, free: 4.438 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.93504894990474]