Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",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.005887/0.005887, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001561/0.001561, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8014/0.8014, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.89 kB / 0.5808 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4047, allocations: 80.21 MB / 0.6592 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002427/0.4071, allocations: 1.516 MB / 0.6606 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006434/0.4078, allocations: 444.6 kB / 0.6611 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.4079, allocations: 1.375 kB / 0.6611 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.4079, allocations: 9.438 kB / 0.6611 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.855e-05/0.408, allocations: 9.297 kB / 0.6611 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.4082, allocations: 27.2 kB / 0.6611 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.844e-05/0.4083, allocations: 43.31 kB / 0.6612 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.4084, allocations: 14.28 kB / 0.6612 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.839e-05/0.4085, allocations: 35.61 kB / 0.6612 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.118e-05/0.4085, allocations: 18.66 kB / 0.6612 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.4085, allocations: 3.531 kB / 0.6612 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.4085, allocations: 4.219 kB / 0.6612 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.4086, allocations: 10.75 kB / 0.6612 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.4086, allocations: 21.75 kB / 0.6613 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.151e-05/0.4087, allocations: 49.38 kB / 0.6613 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4087, allocations: 1.062 kB / 0.6613 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4087, allocations: 0 / 0.6613 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.4087, allocations: 0 / 0.6613 GB, free: 8.395 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004261/0.4092, allocations: 369.7 kB / 0.6617 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4092, allocations: 9.219 kB / 0.6617 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.635e-05/0.4092, allocations: 33.72 kB / 0.6617 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.4093, allocations: 7.734 kB / 0.6617 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.289e-05/0.4093, allocations: 168.9 kB / 0.6619 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.4094, allocations: 5.875 kB / 0.6619 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.4094, allocations: 2.469 kB / 0.6619 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.4096, allocations: 65.27 kB / 0.6619 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4096, allocations: 4 kB / 0.6619 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.4096, allocations: 5.125 kB / 0.6619 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4096, allocations: 5.172 kB / 0.662 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.4098, allocations: 39.61 kB / 0.662 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.4102, allocations: 302.4 kB / 0.6623 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.4105, allocations: 65.23 kB / 0.6623 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.189e-05/0.4106, allocations: 24.11 kB / 0.6624 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.4106, allocations: 0 / 0.6624 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.4106, allocations: 36.42 kB / 0.6624 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.4106, allocations: 0 / 0.6624 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003592/0.411, allocations: 92.69 kB / 0.6625 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/0.411, allocations: 52.81 kB / 0.6625 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/0.4111, allocations: 119.8 kB / 0.6626 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.4111, allocations: 25.7 kB / 0.6627 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.4112, allocations: 91.84 kB / 0.6628 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.4112, allocations: 10.97 kB / 0.6628 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.4112, allocations: 18.33 kB / 0.6628 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.4113, allocations: 322.4 kB / 0.6631 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.869e-05/0.4114, allocations: 16.33 kB / 0.6631 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.902e-05/0.4114, allocations: 21.48 kB / 0.6631 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.4116, allocations: 35.7 kB / 0.6632 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4116, allocations: 3.938 kB / 0.6632 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001972/0.4118, allocations: 68.41 kB / 0.6632 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.4119, allocations: 9.625 kB / 0.6632 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.4119, allocations: 0 / 0.6632 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.4119, allocations: 2.031 kB / 0.6632 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.412, allocations: 13.12 kB / 0.6633 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.412, allocations: 0 / 0.6633 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.412, allocations: 9.328 kB / 0.6633 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.412, allocations: 5.953 kB / 0.6633 GB, free: 6.551 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.008e-05/0.4121, allocations: 113.2 kB / 0.6634 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.4121, allocations: 7.5 kB / 0.6634 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.4122, allocations: 10.22 kB / 0.6634 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4122, allocations: 0 / 0.6634 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4122, allocations: 1.219 kB / 0.6634 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4122, allocations: 0.6562 kB / 0.6634 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.4123, allocations: 177.4 kB / 0.6636 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4123, allocations: 0 / 0.6636 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.4124, allocations: 13.39 kB / 0.6636 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4124, allocations: 0.7031 kB / 0.6636 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.4124, allocations: 1.312 kB / 0.6636 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.4124, allocations: 0.7031 kB / 0.6636 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4124, allocations: 5.312 kB / 0.6636 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.4127, allocations: 171.3 kB / 0.6638 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.4127, allocations: 84.45 kB / 0.6638 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.4127, allocations: 4.656 kB / 0.6638 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.4128, allocations: 4.578 kB / 0.6638 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.4128, allocations: 2.5 kB / 0.6638 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.4128, allocations: 6.141 kB / 0.6639 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.69e-05/0.4129, allocations: 101 kB / 0.6639 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4129, allocations: 0 / 0.6639 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002123/0.4131, allocations: 5.656 kB / 0.664 GB, free: 5.863 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0003724/0.4135, allocations: 0.7053 MB / 0.6646 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.4137, allocations: 40.61 kB / 0.6647 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.4137, allocations: 0 / 0.6647 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.123e-05/0.4138, allocations: 24.31 kB / 0.6647 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.4141, allocations: 7.125 kB / 0.6647 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4153, allocations: 1.351 MB / 0.666 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.4154, allocations: 0.6844 MB / 0.6667 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.4154, allocations: 1.25 kB / 0.6667 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.4155, allocations: 18.48 kB / 0.6667 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4155, allocations: 3.938 kB / 0.6667 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.4358, allocations: 1.491 MB / 0.6682 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/8.035, allocations: 13.56 kB / 0.6682 GB, free: 2.414 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality.fmu > IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)