Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_dev_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.007079/0.007085, allocations: 99.44 kB / 15.73 MB, free: 6.035 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.001149/0.001149, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.972/0.972, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 67.84 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4128, allocations: 80.92 MB / 0.6641 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002124/0.415, allocations: 1.536 MB / 0.6656 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005597/0.4156, allocations: 443.7 kB / 0.666 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.4156, allocations: 1.156 kB / 0.6661 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.4157, allocations: 7.922 kB / 0.6661 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.319e-05/0.4157, allocations: 4.969 kB / 0.6661 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.4159, allocations: 29.41 kB / 0.6661 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.686e-05/0.416, allocations: 45 kB / 0.6661 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.4161, allocations: 19.28 kB / 0.6662 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.749e-05/0.4162, allocations: 24.33 kB / 0.6662 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.4162, allocations: 21.16 kB / 0.6662 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.4163, allocations: 4.188 kB / 0.6662 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.4163, allocations: 4 kB / 0.6662 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.4163, allocations: 13.39 kB / 0.6662 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.4163, allocations: 20.22 kB / 0.6662 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.647e-05/0.4164, allocations: 48.75 kB / 0.6663 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4164, allocations: 0 / 0.6663 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4164, allocations: 1.219 kB / 0.6663 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.4164, allocations: 4 kB / 0.6663 GB, free: 5.539 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.0004385/0.4169, allocations: 361.7 kB / 0.6666 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4169, allocations: 9 kB / 0.6666 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.367e-05/0.417, allocations: 32.91 kB / 0.6667 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.417, allocations: 11.56 kB / 0.6667 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.604e-05/0.4171, allocations: 172 kB / 0.6668 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.4171, allocations: 1.719 kB / 0.6668 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.4171, allocations: 3.156 kB / 0.6669 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.4173, allocations: 66.61 kB / 0.6669 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.4173, allocations: 0 / 0.6669 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.4173, allocations: 9.094 kB / 0.6669 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4173, allocations: 1.156 kB / 0.6669 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.4175, allocations: 38.75 kB / 0.667 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.4179, allocations: 297.9 kB / 0.6672 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.4182, allocations: 63.73 kB / 0.6673 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.4183, allocations: 23.34 kB / 0.6673 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.4183, allocations: 0 / 0.6673 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.215e-05/0.4183, allocations: 39.66 kB / 0.6674 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4183, allocations: 4 kB / 0.6674 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003461/0.4187, allocations: 88.22 kB / 0.6675 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.745e-05/0.4187, allocations: 51.41 kB / 0.6675 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.646e-05/0.4188, allocations: 118 kB / 0.6676 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.4188, allocations: 25.7 kB / 0.6676 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.4188, allocations: 94.95 kB / 0.6677 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.4188, allocations: 12.83 kB / 0.6677 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.4189, allocations: 21 kB / 0.6678 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.4189, allocations: 320.5 kB / 0.6681 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-05/0.419, allocations: 21.36 kB / 0.6681 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.4191, allocations: 18.33 kB / 0.6681 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.4193, allocations: 39.11 kB / 0.6681 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4193, allocations: 1.25 kB / 0.6681 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001953/0.4195, allocations: 70.73 kB / 0.6682 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4195, allocations: 4.344 kB / 0.6682 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.4195, allocations: 1.859 kB / 0.6682 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4195, allocations: 0 / 0.6682 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.935e-05/0.4196, allocations: 14.95 kB / 0.6682 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4196, allocations: 0 / 0.6682 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.4197, allocations: 7.797 kB / 0.6682 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.4197, allocations: 5.406 kB / 0.6682 GB, free: 3.586 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 4.802e-05/0.4198, allocations: 124.1 kB / 0.6684 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.4198, allocations: 6.703 kB / 0.6684 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.4198, allocations: 9.188 kB / 0.6684 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.4198, allocations: 0 / 0.6684 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4198, allocations: 1.094 kB / 0.6684 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.4198, allocations: 0 / 0.6684 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.42, allocations: 179 kB / 0.6686 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.42, allocations: 0 / 0.6686 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.109e-05/0.42, allocations: 6.812 kB / 0.6686 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4201, allocations: 1.219 kB / 0.6686 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4201, allocations: 7.984 kB / 0.6686 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4201, allocations: 1.406 kB / 0.6686 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4201, allocations: 0 / 0.6686 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.4203, allocations: 170 kB / 0.6687 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.4203, allocations: 86.48 kB / 0.6688 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.4203, allocations: 4 kB / 0.6688 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.4204, allocations: 6.969 kB / 0.6688 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.4205, allocations: 5.188 kB / 0.6688 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.4205, allocations: 1.5 kB / 0.6688 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.4205, allocations: 97.23 kB / 0.6689 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.32e-07/0.4205, allocations: 0 / 0.6689 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002235/0.4208, allocations: 11.03 kB / 0.6689 GB, free: 2.859 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.0003788/0.4211, allocations: 0.6956 MB / 0.6696 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.4214, allocations: 45.73 kB / 0.6697 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.4214, allocations: 1.094 kB / 0.6697 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.707e-05/0.4215, allocations: 19.67 kB / 0.6697 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.4217, allocations: 2.656 kB / 0.6697 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.423, allocations: 1.354 MB / 0.671 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.4231, allocations: 0.6845 MB / 0.6717 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.256e-05/0.4231, allocations: 2.594 kB / 0.6717 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.4232, allocations: 16.86 kB / 0.6717 GB, free: 152 kB / 0.4981 GB Notification: Performance of SimCode: time 8.71e-07/0.4232, allocations: 4 kB / 0.6717 GB, free: 148 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.44, allocations: 1.511 MB / 0.6732 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/7.905, allocations: 4.719 kB / 0.6732 GB, free: 15.3 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality.fmu > IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)