Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.001256/0.001256, allocations: 117.1 kB / 17.78 MB, free: 5.246 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.001203/0.001203, allocations: 184.2 kB / 18.72 MB, free: 4.32 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.37/1.37, 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.213/0.213, allocations: 44.17 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3318, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003528/0.3354, allocations: 1.71 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.337, allocations: 0.879 MB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.3371, allocations: 1.125 kB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.3375, allocations: 54.17 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.3378, allocations: 54.62 kB / 0.5211 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.3382, allocations: 113.4 kB / 0.5212 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.3384, allocations: 95.52 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3385, allocations: 8.344 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.561e-05/0.3386, allocations: 49 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.3387, allocations: 26.33 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.3387, allocations: 3.438 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3389, allocations: 46.25 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.999e-05/0.3389, allocations: 28.14 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.925e-05/0.339, allocations: 42.8 kB / 0.5215 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.3393, allocations: 123.8 kB / 0.5217 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3393, allocations: 1.219 kB / 0.5217 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3393, allocations: 0 / 0.5217 GB, free: 1.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3393, allocations: 3.938 kB / 0.5217 GB, free: 1.191 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.0005792/0.3399, allocations: 448.1 kB / 0.5221 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.34, allocations: 10 kB / 0.5221 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.038e-05/0.34, allocations: 33.33 kB / 0.5221 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.3401, allocations: 14.44 kB / 0.5221 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.3404, allocations: 227.2 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.3404, allocations: 5.5 kB / 0.5224 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.3404, allocations: 6.312 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3406, allocations: 54 kB / 0.5224 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3406, allocations: 5.156 kB / 0.5224 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3407, allocations: 0.6562 kB / 0.5224 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3407, allocations: 1.094 kB / 0.5224 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.3408, allocations: 18.78 kB / 0.5224 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.3412, allocations: 297.2 kB / 0.5227 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.3414, allocations: 55.8 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.965e-05/0.3415, allocations: 23.8 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.3415, allocations: 1.906 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.3417, allocations: 74.62 kB / 0.5229 GB, free: 20 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.3417, allocations: 0 / 0.5229 GB, free: 20 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007328/0.3424, allocations: 175.5 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.3425, allocations: 60.66 kB / 0.5231 GB, free: 15.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/0.3429, allocations: 269.4 kB / 0.5234 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.343, allocations: 31.05 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3431, allocations: 115.9 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.3432, allocations: 25.73 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.3432, allocations: 21.48 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.3435, allocations: 329.3 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/0.3435, allocations: 17.28 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.3437, allocations: 40 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.3439, allocations: 61.23 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3439, allocations: 0 / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002907/0.3442, allocations: 103.6 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3442, allocations: 6.422 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3442, allocations: 0 / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3442, allocations: 1.062 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3444, allocations: 31.73 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3444, allocations: 5.031 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.3445, allocations: 2.734 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.3445, allocations: 3 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.0001724/0.3447, allocations: 133.4 kB / 0.5242 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.013e-05/0.3447, allocations: 15.81 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.951e-05/0.3448, allocations: 19.33 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3448, allocations: 1.625 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.3449, allocations: 7.922 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3449, allocations: 8.688 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006905/0.3456, allocations: 403.1 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3456, allocations: 0 / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.3456, allocations: 9.281 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3457, allocations: 3.938 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.3457, allocations: 2.875 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.3457, allocations: 1.719 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3457, allocations: 5.031 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.3461, allocations: 209.8 kB / 0.5249 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.3462, allocations: 93.55 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.3462, allocations: 7.297 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.3464, allocations: 2.641 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.3464, allocations: 9.266 kB / 0.525 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.3464, allocations: 4.078 kB / 0.525 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002912/0.3468, allocations: 208.6 kB / 0.5252 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3468, allocations: 0 / 0.5252 GB, free: 14.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004446/0.3472, allocations: 23.38 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.002832/0.3501, allocations: 1.098 MB / 0.5263 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.3503, allocations: 60.64 kB / 0.5264 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3504, allocations: 0 / 0.5264 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.3505, allocations: 30.42 kB / 0.5264 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.351, allocations: 40.88 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.002981/0.354, allocations: 1.805 MB / 0.5282 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.3545, allocations: 0.7243 MB / 0.5289 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.228e-05/0.3546, allocations: 18.02 kB / 0.5289 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.3547, allocations: 38.81 kB / 0.529 GB, free: 11.11 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3548, allocations: 1.156 kB / 0.529 GB, free: 11.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/0.3872, allocations: 3.701 MB / 0.5326 GB, free: 9.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.393, allocations: 10.12 kB / 0.5326 GB, free: 9.449 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_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_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches