Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001835/0.001835, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002279/0.002279, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2206/0.2206, allocations: 44.91 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 71.89 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3068, allocations: 65.47 MB / 0.5571 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003717/0.3105, allocations: 1.946 MB / 0.559 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.3126, allocations: 1.155 MB / 0.5601 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.3127, allocations: 0 / 0.5601 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.3131, allocations: 171.4 kB / 0.5603 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004655/0.3136, allocations: 187.2 kB / 0.5605 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.3139, allocations: 115.7 kB / 0.5606 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.3142, allocations: 243.3 kB / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3144, allocations: 23.73 kB / 0.5608 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.3146, allocations: 115.5 kB / 0.5609 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.3148, allocations: 155.5 kB / 0.5611 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.3148, allocations: 8 kB / 0.5611 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3149, allocations: 63.97 kB / 0.5612 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-05/0.315, allocations: 51.78 kB / 0.5612 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3151, allocations: 87.34 kB / 0.5613 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.3155, allocations: 219 kB / 0.5615 GB, free: 3.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.3155, allocations: 0 / 0.5615 GB, free: 3.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3155, allocations: 0 / 0.5615 GB, free: 3.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.3155, allocations: 7.938 kB / 0.5615 GB, free: 3.227 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007643/0.3163, allocations: 480.5 kB / 0.562 GB, free: 2.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3163, allocations: 12.03 kB / 0.562 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.3163, allocations: 38.73 kB / 0.562 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.3164, allocations: 28.75 kB / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.3168, allocations: 222.5 kB / 0.5622 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3168, allocations: 4.375 kB / 0.5623 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.3169, allocations: 15.92 kB / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.3171, allocations: 110.2 kB / 0.5624 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.3171, allocations: 7.922 kB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3171, allocations: 4 kB / 0.5624 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.3171, allocations: 4 kB / 0.5624 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.3173, allocations: 43.91 kB / 0.5624 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.3179, allocations: 443.8 kB / 0.5629 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.3182, allocations: 117.2 kB / 0.563 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3183, allocations: 45.75 kB / 0.563 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.3184, allocations: 4 kB / 0.563 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.3186, allocations: 121 kB / 0.5631 GB, free: 1.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.3186, allocations: 0 / 0.5631 GB, free: 1.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001321/0.3199, allocations: 497.7 kB / 0.5636 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.32, allocations: 93.05 kB / 0.5637 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.3204, allocations: 368.5 kB / 0.564 GB, free: 436 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3204, allocations: 41.58 kB / 0.5641 GB, free: 388 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.3205, allocations: 140.5 kB / 0.5642 GB, free: 240 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.934e-05/0.3206, allocations: 79.36 kB / 0.5643 GB, free: 160 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.3207, allocations: 37.72 kB / 0.5643 GB, free: 116 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3209, allocations: 350.8 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.321, allocations: 55.97 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.3211, allocations: 91.34 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.3214, allocations: 151.4 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.3214, allocations: 0 / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000401/0.3218, allocations: 245.4 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3218, allocations: 8 kB / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3218, allocations: 0 / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3218, allocations: 4 kB / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.322, allocations: 39.98 kB / 0.5652 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.322, allocations: 7.984 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.032e-05/0.3221, allocations: 8 kB / 0.5652 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.3221, allocations: 8 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001646/0.3223, allocations: 166.3 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.3223, allocations: 31.75 kB / 0.5654 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005059/0.3228, allocations: 259.5 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.3228, allocations: 4 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3228, allocations: 0 / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3228, allocations: 3.938 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009392/0.3238, allocations: 0.695 MB / 0.5664 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3238, allocations: 0 / 0.5664 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-05/0.3239, allocations: 35.92 kB / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3239, allocations: 4 kB / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3239, allocations: 4 kB / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3239, allocations: 0 / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.3239, allocations: 8.062 kB / 0.5664 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005004/0.3244, allocations: 431.5 kB / 0.5668 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.3244, allocations: 19.86 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.3245, allocations: 15.98 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.3246, allocations: 4 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.3247, allocations: 23.91 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.3247, allocations: 8 kB / 0.5669 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.325, allocations: 283 kB / 0.5672 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.325, allocations: 0 / 0.5672 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.3253, allocations: 47.94 kB / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002697/0.328, allocations: 1.381 MB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.3284, allocations: 147.8 kB / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3284, allocations: 0 / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.3286, allocations: 75.84 kB / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.3291, allocations: 60.38 kB / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/0.3327, allocations: 2.72 MB / 0.5715 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.3331, allocations: 0.7636 MB / 0.5722 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.3332, allocations: 41.88 kB / 0.5723 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.3334, allocations: 91.33 kB / 0.5724 GB, free: 7.758 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3334, allocations: 0 / 0.5724 GB, free: 7.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03477/0.3681, allocations: 6.35 MB / 0.5786 GB, free: 1.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.9, allocations: 6.594 kB / 0.5786 GB, free: 1.484 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.981043386971578]