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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.01005/0.01005, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.85/0.85, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008618/0.0008617, allocations: 86.67 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4182, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.5827, allocations: 112 MB / 0.7589 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/0.5832, allocations: 79.95 kB / 0.759 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004854/0.588, allocations: 1.482 MB / 0.7604 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5881, allocations: 4 kB / 0.7604 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.5881, allocations: 0 / 0.7604 GB, free: 2.426 MB / 0.5261 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.0005986/0.5887, allocations: 371 kB / 0.7608 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.838e-05/0.5888, allocations: 8.031 kB / 0.7608 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.576e-05/0.5889, allocations: 38.48 kB / 0.7608 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.5889, allocations: 4 kB / 0.7608 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.5891, allocations: 174.9 kB / 0.761 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.5892, allocations: 4 kB / 0.761 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.5892, allocations: 4 kB / 0.761 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.5894, allocations: 65.66 kB / 0.7611 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5894, allocations: 3.984 kB / 0.7611 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.5895, allocations: 4 kB / 0.7611 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.5895, allocations: 4 kB / 0.7611 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.5897, allocations: 51.91 kB / 0.7611 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.5903, allocations: 300.7 kB / 0.7614 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.5906, allocations: 78.47 kB / 0.7615 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.5907, allocations: 4 kB / 0.7615 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.5907, allocations: 30.56 kB / 0.7615 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5907, allocations: 4 kB / 0.7615 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004339/0.5911, allocations: 93.8 kB / 0.7616 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.5912, allocations: 63.34 kB / 0.7617 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.5913, allocations: 116.9 kB / 0.7618 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5913, allocations: 25.7 kB / 0.7618 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.5914, allocations: 88.14 kB / 0.7619 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.5914, allocations: 11.81 kB / 0.7619 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.5914, allocations: 0 / 0.7619 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5916, allocations: 318.8 kB / 0.7622 GB, free: 392 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.5917, allocations: 27.86 kB / 0.7622 GB, free: 364 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.628e-05/0.5918, allocations: 23.98 kB / 0.7623 GB, free: 340 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.418e-05/0.5919, allocations: 19.92 kB / 0.7623 GB, free: 320 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5919, allocations: 0 / 0.7623 GB, free: 320 kB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002111/0.5921, allocations: 81.67 kB / 0.7624 GB, free: 232 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5921, allocations: 4.781 kB / 0.7624 GB, free: 228 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5922, allocations: 0 / 0.7624 GB, free: 228 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.5922, allocations: 0 / 0.7624 GB, free: 228 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.5923, allocations: 11.98 kB / 0.7624 GB, free: 216 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5923, allocations: 0 / 0.7624 GB, free: 216 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.5923, allocations: 15.86 kB / 0.7624 GB, free: 200 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.5924, allocations: 7.984 kB / 0.7624 GB, free: 192 kB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.225e-05/0.5925, allocations: 116.1 kB / 0.7625 GB, free: 68 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.5925, allocations: 0 / 0.7625 GB, free: 68 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.5925, allocations: 15.84 kB / 0.7625 GB, free: 44 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5926, allocations: 0 / 0.7625 GB, free: 44 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5926, allocations: 0 / 0.7625 GB, free: 44 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5926, allocations: 0 / 0.7625 GB, free: 44 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.5928, allocations: 173.6 kB / 0.7627 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.5928, allocations: 8 kB / 0.7627 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/0.5929, allocations: 8 kB / 0.7627 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5929, allocations: 7.984 kB / 0.7627 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.5929, allocations: 0 / 0.7627 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5929, allocations: 0 / 0.7627 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5929, allocations: 0 / 0.7627 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.5932, allocations: 183.4 kB / 0.7629 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.5933, allocations: 85.03 kB / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.5933, allocations: 0 / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.5934, allocations: 4 kB / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.5935, allocations: 7.984 kB / 0.763 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.5935, allocations: 0 / 0.763 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.811e-05/0.5936, allocations: 95.2 kB / 0.7631 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.685e-06/0.5936, allocations: 4 kB / 0.7631 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002141/0.5938, allocations: 15.84 kB / 0.7631 GB, free: 15.38 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006136/0.5944, allocations: 0.7007 MB / 0.7638 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.5947, allocations: 52.39 kB / 0.7638 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5947, allocations: 0 / 0.7638 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.5948, allocations: 27.92 kB / 0.7638 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.595, allocations: 0 / 0.7638 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.5961, allocations: 0.5109 MB / 0.7643 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.5965, allocations: 0.6887 MB / 0.765 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.5965, allocations: 0 / 0.765 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.5966, allocations: 15.44 kB / 0.765 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of SimCode: time 3.5e-07/0.5966, allocations: 0 / 0.765 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.6091, allocations: 1.227 MB / 0.7662 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.6094, allocations: 176.2 kB / 0.7664 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.246, allocations: 0 / 0.7664 GB, free: 11.93 MB / 0.5417 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 & /home/hudson/saved_omc/OMSimulator/install/linux/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)