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.0008423/0.0008424, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.0058/0.0058, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7625/0.7625, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 8.625 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4982/0.4986, allocations: 81.58 MB / 0.5837 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.001623/0.5002, allocations: 1.251 MB / 0.585 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000606/0.5009, allocations: 427.8 kB / 0.5854 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.5009, allocations: 1.031 kB / 0.5854 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.5009, allocations: 5.438 kB / 0.5854 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.215e-05/0.501, allocations: 6.625 kB / 0.5854 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.5012, allocations: 23.48 kB / 0.5854 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.797e-05/0.5013, allocations: 38.47 kB / 0.5854 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.5014, allocations: 16.83 kB / 0.5855 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.5015, allocations: 24.62 kB / 0.5855 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.5015, allocations: 20.23 kB / 0.5855 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.5016, allocations: 2.375 kB / 0.5855 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.5016, allocations: 1 kB / 0.5855 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.5016, allocations: 3.594 kB / 0.5855 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.5017, allocations: 49.67 kB / 0.5856 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.854e-05/0.5017, allocations: 34.36 kB / 0.5856 GB, free: 2.547 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5018, allocations: 1.188 kB / 0.5856 GB, free: 2.547 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5018, allocations: 0 / 0.5856 GB, free: 2.547 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.5018, allocations: 0 / 0.5856 GB, free: 2.547 MB / 430.1 MB 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.0004317/0.5022, allocations: 367.8 kB / 0.5859 GB, free: 2.176 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5023, allocations: 9.375 kB / 0.5859 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.5023, allocations: 38.12 kB / 0.586 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.5023, allocations: 2.875 kB / 0.586 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.099e-05/0.5024, allocations: 173.1 kB / 0.5861 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.5025, allocations: 1.531 kB / 0.5862 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.5025, allocations: 8.297 kB / 0.5862 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.5027, allocations: 75.69 kB / 0.5862 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.5027, allocations: 4 kB / 0.5862 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5027, allocations: 1.062 kB / 0.5862 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5027, allocations: 2.203 kB / 0.5862 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.503, allocations: 45.89 kB / 0.5863 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.5034, allocations: 301.8 kB / 0.5866 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.5037, allocations: 69.34 kB / 0.5866 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.831e-05/0.5038, allocations: 31.78 kB / 0.5867 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.5039, allocations: 3.938 kB / 0.5867 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.5039, allocations: 36.44 kB / 0.5867 GB, free: 1.473 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.5039, allocations: 0 / 0.5867 GB, free: 1.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003796/0.5043, allocations: 107.7 kB / 0.5868 GB, free: 1.418 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.5043, allocations: 52.86 kB / 0.5869 GB, free: 1.355 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.5044, allocations: 122.5 kB / 0.587 GB, free: 1.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.5044, allocations: 25.7 kB / 0.587 GB, free: 1.219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.5044, allocations: 92.03 kB / 0.5871 GB, free: 1.129 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.5045, allocations: 14.34 kB / 0.5871 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/0.5045, allocations: 14.97 kB / 0.5871 GB, free: 1.098 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.317e-05/0.5045, allocations: 318.6 kB / 0.5874 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.533e-05/0.5046, allocations: 20.47 kB / 0.5874 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.688e-05/0.5047, allocations: 25.83 kB / 0.5875 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.5049, allocations: 46.92 kB / 0.5875 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5049, allocations: 0.875 kB / 0.5875 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002173/0.5051, allocations: 84.11 kB / 0.5876 GB, free: 0.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.5052, allocations: 9.438 kB / 0.5876 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5052, allocations: 1.984 kB / 0.5876 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.5052, allocations: 0 / 0.5876 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.5053, allocations: 11.8 kB / 0.5876 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.5053, allocations: 0 / 0.5876 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.775e-05/0.5054, allocations: 7.891 kB / 0.5876 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.5054, allocations: 4.656 kB / 0.5876 GB, free: 0.6992 MB / 430.1 MB 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.987e-05/0.5054, allocations: 112.5 kB / 0.5877 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.5055, allocations: 11.59 kB / 0.5877 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.5055, allocations: 9.875 kB / 0.5878 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5055, allocations: 1.859 kB / 0.5878 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5055, allocations: 0 / 0.5878 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5055, allocations: 1.828 kB / 0.5878 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.5057, allocations: 172.6 kB / 0.5879 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5057, allocations: 0 / 0.5879 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.703e-05/0.5057, allocations: 11.52 kB / 0.5879 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5057, allocations: 1 kB / 0.5879 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.5058, allocations: 5.422 kB / 0.5879 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5058, allocations: 0 / 0.5879 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5058, allocations: 4.5 kB / 0.5879 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.506, allocations: 176.4 kB / 0.5881 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.5061, allocations: 86.97 kB / 0.5882 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.5061, allocations: 1.125 kB / 0.5882 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.5062, allocations: 7.188 kB / 0.5882 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.5062, allocations: 3.031 kB / 0.5882 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.5062, allocations: 1.688 kB / 0.5882 GB, free: 108 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.952e-05/0.5063, allocations: 104.1 kB / 0.5883 GB, free: 16 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5063, allocations: 0.9375 kB / 0.5883 GB, free: 16 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.5065, allocations: 9.25 kB / 0.5883 GB, free: 12 kB / 430.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: 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.0005537/0.507, allocations: 0.7049 MB / 0.589 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.5073, allocations: 51.39 kB / 0.589 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5073, allocations: 0 / 0.589 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.5074, allocations: 25.2 kB / 0.5891 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.5077, allocations: 9.375 kB / 0.5891 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.5093, allocations: 1.39 MB / 0.5904 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.5095, allocations: 0.6823 MB / 0.5911 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.63e-05/0.5095, allocations: 6.781 kB / 0.5911 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.5096, allocations: 19.75 kB / 0.5911 GB, free: 13.36 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5096, allocations: 0 / 0.5911 GB, free: 13.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.5385, allocations: 1.255 MB / 0.5924 GB, free: 13.21 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.5387, allocations: 192.1 kB / 0.5925 GB, free: 12.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.217, allocations: 4 kB / 0.5925 GB, free: 12.96 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality.fmu > IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)