Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001288/0.001288, allocations: 104.2 kB / 20.48 MB, free: 1.125 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.001439/0.001439, allocations: 214.2 kB / 23.77 MB, free: 4.332 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.498/1.498, allocations: 230.5 MB / 257.4 MB, free: 7.711 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.2289/0.2289, allocations: 46.95 MB / 360.9 MB, free: 3.891 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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002539/0.002539, allocations: 71.88 kB / 0.4963 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.368, allocations: 66.09 MB / 0.5608 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003613/0.3716, allocations: 1.71 MB / 0.5625 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.3745, allocations: 1.664 MB / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.93e-05/0.3746, allocations: 4 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.3749, allocations: 35.77 kB / 0.5642 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.3753, allocations: 103.5 kB / 0.5642 GB, free: 464 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.3756, allocations: 83.66 kB / 0.5643 GB, free: 380 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.3758, allocations: 111.7 kB / 0.5644 GB, free: 268 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3759, allocations: 13.83 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.665e-05/0.376, allocations: 55.7 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.3761, allocations: 39.78 kB / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.3762, allocations: 11.98 kB / 0.5646 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.3764, allocations: 95.95 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.3764, allocations: 27.84 kB / 0.5647 GB, free: 24 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/0.3765, allocations: 31.88 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.3769, allocations: 175.3 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3769, allocations: 0 / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3769, allocations: 4 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3769, allocations: 0 / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006528/0.3776, allocations: 365.4 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.3776, allocations: 12.03 kB / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.3777, allocations: 38.67 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.3777, allocations: 8.891 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.3781, allocations: 154.3 kB / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3782, allocations: 384 / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.3782, allocations: 12.36 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.3784, allocations: 101.2 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3785, allocations: 7.953 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.3785, allocations: 7.984 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3785, allocations: 4 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.3786, allocations: 27.92 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.3791, allocations: 275.9 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.3794, allocations: 66.67 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.165e-05/0.3794, allocations: 28.84 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.3794, allocations: 0 / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.3796, allocations: 79.33 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.3796, allocations: 3.938 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007104/0.3803, allocations: 213.3 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.3804, allocations: 85.09 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.3807, allocations: 174.2 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.3807, allocations: 33.7 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.3808, allocations: 100.1 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.3808, allocations: 35.8 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.3809, allocations: 21.72 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3811, allocations: 330.7 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.3811, allocations: 27.98 kB / 0.567 GB, free: 13.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.3813, allocations: 76.27 kB / 0.5671 GB, free: 13.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.3814, allocations: 73.64 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3814, allocations: 3.984 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002525/0.3817, allocations: 121.5 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3817, allocations: 8 kB / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3817, allocations: 0 / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.3817, allocations: 0 / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3818, allocations: 19.94 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3818, allocations: 0 / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.526e-05/0.3819, allocations: 16.05 kB / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.3819, allocations: 0 / 0.5673 GB, free: 13.1 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 (11): * Single equations (assignments): 11 * 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.0001298/0.3821, allocations: 124.9 kB / 0.5674 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.3821, allocations: 12.14 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.3824, allocations: 146.7 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3824, allocations: 3.938 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3824, allocations: 0 / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3824, allocations: 3.984 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005985/0.383, allocations: 402.3 kB / 0.568 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.383, allocations: 4.031 kB / 0.568 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.3831, allocations: 12 kB / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3831, allocations: 3.984 kB / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3831, allocations: 0 / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3831, allocations: 7.938 kB / 0.568 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.3831, allocations: 7.922 kB / 0.568 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.3834, allocations: 228.3 kB / 0.5682 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.3835, allocations: 19.84 kB / 0.5682 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.3835, allocations: 4 kB / 0.5682 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.3836, allocations: 7.938 kB / 0.5682 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.3836, allocations: 11.98 kB / 0.5682 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.3836, allocations: 11.98 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3838, allocations: 131.2 kB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3838, allocations: 4 kB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000319/0.3841, allocations: 51.86 kB / 0.5684 GB, free: 11.84 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 (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.002744/0.3868, allocations: 1.236 MB / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.3871, allocations: 75.84 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3871, allocations: 4 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.732e-05/0.3872, allocations: 35.92 kB / 0.5698 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.3876, allocations: 39.45 kB / 0.5698 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.39, allocations: 1.687 MB / 0.5714 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.3901, allocations: 92.19 kB / 0.5715 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.112e-05/0.3902, allocations: 20.62 kB / 0.5715 GB, free: 8.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.3903, allocations: 39.42 kB / 0.5716 GB, free: 8.684 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3903, allocations: 3.938 kB / 0.5716 GB, free: 8.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.037/0.4273, allocations: 5.054 MB / 0.5765 GB, free: 3.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.66, allocations: 3.984 kB / 0.5765 GB, free: 3.633 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.78238655300811]