Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.002015/0.002015, allocations: 113.1 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.002241/0.002241, allocations: 216.4 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2234/0.2234, allocations: 44.91 MB / 358.8 MB, free: 6.277 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.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",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.002101/0.002101, allocations: 70.41 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3177, allocations: 65.47 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.00346/0.3211, allocations: 1.699 MB / 0.5587 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.323, allocations: 1.022 MB / 0.5597 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.3231, allocations: 0 / 0.5597 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.3234, allocations: 63.73 kB / 0.5598 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.3237, allocations: 99.53 kB / 0.5599 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.3239, allocations: 67.75 kB / 0.56 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.3241, allocations: 107.6 kB / 0.5601 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.3241, allocations: 8.234 kB / 0.5601 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3242, allocations: 47.78 kB / 0.5601 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.094e-05/0.3243, allocations: 31.8 kB / 0.5601 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3243, allocations: 4 kB / 0.5602 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.97e-05/0.3244, allocations: 31.97 kB / 0.5602 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.164e-05/0.3245, allocations: 31.86 kB / 0.5602 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.3245, allocations: 39.62 kB / 0.5603 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.3248, allocations: 121.3 kB / 0.5604 GB, free: 4.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3248, allocations: 0 / 0.5604 GB, free: 4.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3248, allocations: 0 / 0.5604 GB, free: 4.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.3248, allocations: 0 / 0.5604 GB, free: 4.379 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005693/0.3253, allocations: 381.3 kB / 0.5607 GB, free: 3.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3254, allocations: 12.03 kB / 0.5607 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.3254, allocations: 30.75 kB / 0.5608 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.3255, allocations: 8.891 kB / 0.5608 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.3258, allocations: 163.2 kB / 0.5609 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.3259, allocations: 4.375 kB / 0.5609 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3259, allocations: 7.938 kB / 0.5609 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.326, allocations: 45.67 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3261, allocations: 4 kB / 0.561 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3261, allocations: 4 kB / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3261, allocations: 0 / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.454e-05/0.3262, allocations: 15.98 kB / 0.561 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.3264, allocations: 164.8 kB / 0.5612 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.3266, allocations: 54.5 kB / 0.5612 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.3267, allocations: 24.84 kB / 0.5612 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.3267, allocations: 0 / 0.5612 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.3269, allocations: 63.39 kB / 0.5613 GB, free: 3.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.034e-06/0.3269, allocations: 0 / 0.5613 GB, free: 3.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003217/0.3272, allocations: 101.5 kB / 0.5614 GB, free: 3.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.3273, allocations: 51.41 kB / 0.5615 GB, free: 3.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.3276, allocations: 275.8 kB / 0.5617 GB, free: 2.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.3276, allocations: 33.7 kB / 0.5617 GB, free: 2.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.3277, allocations: 112.1 kB / 0.5619 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.3278, allocations: 19.83 kB / 0.5619 GB, free: 2.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.3278, allocations: 17.72 kB / 0.5619 GB, free: 2.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.328, allocations: 330.8 kB / 0.5622 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.317e-05/0.328, allocations: 12 kB / 0.5622 GB, free: 2.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-05/0.3281, allocations: 29.7 kB / 0.5622 GB, free: 2.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.3282, allocations: 49.64 kB / 0.5623 GB, free: 2.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3282, allocations: 7.938 kB / 0.5623 GB, free: 2.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001662/0.3284, allocations: 77.59 kB / 0.5624 GB, free: 2.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3284, allocations: 8 kB / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3284, allocations: 0 / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.3284, allocations: 0 / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.3285, allocations: 15.88 kB / 0.5624 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.3285, allocations: 12.02 kB / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.3286, allocations: 3.953 kB / 0.5624 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3286, allocations: 7.938 kB / 0.5624 GB, free: 2.062 MB / 398.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 (7): * Single equations (assignments): 7 * 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.000144/0.3287, allocations: 140.9 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.3288, allocations: 11.91 kB / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.329, allocations: 99.06 kB / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.329, allocations: 0 / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.329, allocations: 3.984 kB / 0.5627 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.329, allocations: 3.938 kB / 0.5627 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.3292, allocations: 176.6 kB / 0.5628 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3292, allocations: 0 / 0.5628 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.3292, allocations: 4 kB / 0.5628 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3292, allocations: 0 / 0.5628 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3292, allocations: 0 / 0.5628 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3292, allocations: 0 / 0.5628 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3292, allocations: 0 / 0.5628 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.3294, allocations: 117 kB / 0.563 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.3294, allocations: 15.91 kB / 0.563 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.3295, allocations: 0 / 0.563 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.3295, allocations: 7.984 kB / 0.563 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.3296, allocations: 4 kB / 0.563 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3296, allocations: 4 kB / 0.563 GB, free: 1.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.3298, allocations: 200.6 kB / 0.5632 GB, free: 1.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3298, allocations: 0 / 0.5632 GB, free: 1.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.33, allocations: 27.88 kB / 0.5632 GB, free: 1.184 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.002031/0.332, allocations: 0.9612 MB / 0.5641 GB, free: 360 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.3322, allocations: 39.92 kB / 0.5642 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3322, allocations: 0 / 0.5642 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.174e-05/0.3323, allocations: 19.98 kB / 0.5642 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.3325, allocations: 29.73 kB / 0.5642 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.3347, allocations: 1.678 MB / 0.5659 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/0.3352, allocations: 0.7158 MB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.3353, allocations: 16.72 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.3354, allocations: 39.42 kB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3354, allocations: 4 kB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.3645, allocations: 3.661 MB / 0.5702 GB, free: 10.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.51, allocations: 13.62 kB / 0.5702 GB, free: 10.1 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.481727808015421]