Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001569, allocations: 114.4 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 183.8 kB / 18.72 MB, free: 4.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2053/0.2053, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3228, allocations: 60.83 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002854/0.3258, allocations: 1.694 MB / 0.5202 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.327, allocations: 0.8809 MB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.3271, allocations: 1.469 kB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.3275, allocations: 46.14 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.3277, allocations: 68.06 kB / 0.5211 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.328, allocations: 109.5 kB / 0.5212 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.3282, allocations: 99.42 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.65e-05/0.3283, allocations: 8.719 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.991e-05/0.3284, allocations: 41.73 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.064e-05/0.3284, allocations: 25.75 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3285, allocations: 12.08 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.306e-05/0.3286, allocations: 42.84 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.3286, allocations: 27.91 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.3287, allocations: 46.78 kB / 0.5215 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.3289, allocations: 131.9 kB / 0.5217 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3289, allocations: 0.9062 kB / 0.5217 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3289, allocations: 0 / 0.5217 GB, free: 1.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3289, allocations: 3.938 kB / 0.5217 GB, free: 1.188 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000482/0.3294, allocations: 440.2 kB / 0.5221 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3295, allocations: 14.31 kB / 0.5221 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.548e-05/0.3295, allocations: 36.62 kB / 0.5221 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.3296, allocations: 15.06 kB / 0.5222 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.3298, allocations: 215.1 kB / 0.5224 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3298, allocations: 1.469 kB / 0.5224 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.3298, allocations: 10.88 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.33, allocations: 53.77 kB / 0.5224 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.33, allocations: 0 / 0.5224 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.33, allocations: 1.484 kB / 0.5224 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.33, allocations: 5.031 kB / 0.5224 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.387e-05/0.3301, allocations: 22.8 kB / 0.5224 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.3304, allocations: 293.3 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.3306, allocations: 63.81 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.3307, allocations: 20.83 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3307, allocations: 4 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.3308, allocations: 66.08 kB / 0.5229 GB, free: 28 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3308, allocations: 1.094 kB / 0.5229 GB, free: 28 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005617/0.3314, allocations: 178.5 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.3315, allocations: 62.2 kB / 0.5231 GB, free: 15.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.3317, allocations: 264.9 kB / 0.5234 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3318, allocations: 31.45 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.3318, allocations: 119.3 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.3319, allocations: 25.11 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.3319, allocations: 22.19 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.332, allocations: 329.5 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.3321, allocations: 25.75 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/0.3322, allocations: 34.17 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.3323, allocations: 67.08 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3323, allocations: 0 / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001854/0.3325, allocations: 107.1 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3325, allocations: 5.891 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3325, allocations: 0 / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3326, allocations: 1.906 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.3326, allocations: 14.89 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3327, allocations: 5.547 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.3327, allocations: 6.484 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3327, allocations: 7.281 kB / 0.5241 GB, free: 15.06 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 (10): * Single equations (assignments): 10 * 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.0001093/0.3328, allocations: 133.6 kB / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.3329, allocations: 14.22 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.3329, allocations: 24.31 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.3329, allocations: 1.281 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3329, allocations: 3.938 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.333, allocations: 0.7031 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.3334, allocations: 403.2 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3334, allocations: 0 / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.3334, allocations: 10.41 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3335, allocations: 4.312 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.3335, allocations: 6.656 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3335, allocations: 5.875 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.3335, allocations: 0.7031 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.3337, allocations: 206 kB / 0.5249 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.3338, allocations: 96.62 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.3338, allocations: 10.19 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.3339, allocations: 3.625 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.3339, allocations: 5.219 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.334, allocations: 5 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.3341, allocations: 203.9 kB / 0.5252 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3341, allocations: 4.188 kB / 0.5252 GB, free: 14.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.3344, allocations: 26.83 kB / 0.5252 GB, free: 14.13 MB / 398.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 (8): * Single equations (assignments): 6 * 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.001421/0.3358, allocations: 1.102 MB / 0.5263 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.336, allocations: 62.11 kB / 0.5264 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.336, allocations: 0 / 0.5264 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.063e-05/0.3361, allocations: 27.66 kB / 0.5264 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.3365, allocations: 31.5 kB / 0.5264 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.3384, allocations: 1.803 MB / 0.5282 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.3387, allocations: 0.7192 MB / 0.5289 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.017e-05/0.3388, allocations: 21.61 kB / 0.5289 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.3389, allocations: 39.58 kB / 0.529 GB, free: 11.12 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3389, allocations: 1.312 kB / 0.529 GB, free: 11.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.3613, allocations: 3.711 MB / 0.5326 GB, free: 9.453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.134, allocations: 12.02 kB / 0.5326 GB, free: 9.445 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches