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.005807/0.005807, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001569/0.001569, allocations: 196.4 kB / 16.68 MB, free: 5.973 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8708/0.8708, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 68.36 kB / 0.5857 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1857, allocations: 81.03 MB / 0.6648 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.003106/0.1889, allocations: 1.525 MB / 0.6663 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008406/0.1897, allocations: 438.9 kB / 0.6667 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.1898, allocations: 0 / 0.6667 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.1898, allocations: 3.938 kB / 0.6667 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.897e-05/0.1899, allocations: 7.938 kB / 0.6667 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.1901, allocations: 31.89 kB / 0.6668 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.123e-05/0.1902, allocations: 47.8 kB / 0.6668 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1904, allocations: 15.98 kB / 0.6668 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1905, allocations: 23.91 kB / 0.6669 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.1905, allocations: 19.92 kB / 0.6669 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1906, allocations: 4 kB / 0.6669 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.1906, allocations: 4 kB / 0.6669 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.1906, allocations: 11.94 kB / 0.6669 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.1906, allocations: 27.86 kB / 0.6669 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.1908, allocations: 40.09 kB / 0.667 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1908, allocations: 0 / 0.667 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1908, allocations: 0 / 0.667 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.1908, allocations: 4 kB / 0.667 GB, free: 3.477 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.0005407/0.1913, allocations: 363.3 kB / 0.6673 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1914, allocations: 9.109 kB / 0.6673 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/0.1914, allocations: 38.69 kB / 0.6674 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.009e-05/0.1915, allocations: 4.938 kB / 0.6674 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1916, allocations: 172.3 kB / 0.6675 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.1916, allocations: 12.31 kB / 0.6675 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.1917, allocations: 384 / 0.6675 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.1919, allocations: 69.78 kB / 0.6676 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1919, allocations: 0 / 0.6676 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1919, allocations: 0 / 0.6676 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1919, allocations: 0 / 0.6676 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.1921, allocations: 51.84 kB / 0.6677 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.1926, allocations: 292.8 kB / 0.6679 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.1929, allocations: 66.52 kB / 0.668 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.193, allocations: 24.91 kB / 0.668 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1931, allocations: 7.938 kB / 0.668 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1931, allocations: 30.56 kB / 0.6681 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1931, allocations: 0 / 0.6681 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003748/0.1935, allocations: 89.61 kB / 0.6681 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.1935, allocations: 51.41 kB / 0.6682 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1937, allocations: 121.8 kB / 0.6683 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.1937, allocations: 29.7 kB / 0.6683 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.1938, allocations: 92.14 kB / 0.6684 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.1938, allocations: 7.906 kB / 0.6684 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.1938, allocations: 17.7 kB / 0.6685 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.194, allocations: 318.8 kB / 0.6688 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1941, allocations: 19.98 kB / 0.6688 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.1942, allocations: 15.92 kB / 0.6688 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.1944, allocations: 44.83 kB / 0.6688 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1944, allocations: 0 / 0.6688 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000213/0.1946, allocations: 65.67 kB / 0.6689 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1947, allocations: 7.984 kB / 0.6689 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1947, allocations: 4 kB / 0.6689 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1947, allocations: 0 / 0.6689 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.1948, allocations: 4 kB / 0.6689 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1948, allocations: 8 kB / 0.6689 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.876e-05/0.1949, allocations: 11.88 kB / 0.6689 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1949, allocations: 11.88 kB / 0.6689 GB, free: 1.223 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 0.0001052/0.195, allocations: 113.8 kB / 0.669 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.195, allocations: 4 kB / 0.6691 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.1951, allocations: 11.89 kB / 0.6691 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1951, allocations: 0 / 0.6691 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1951, allocations: 4 kB / 0.6691 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1951, allocations: 0 / 0.6691 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.1953, allocations: 177.6 kB / 0.6692 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1953, allocations: 0 / 0.6692 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.507e-05/0.1954, allocations: 11.98 kB / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1954, allocations: 0 / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1954, allocations: 0 / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1954, allocations: 0 / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1954, allocations: 0 / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.1957, allocations: 175.4 kB / 0.6694 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.1958, allocations: 81.44 kB / 0.6695 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1958, allocations: 11.88 kB / 0.6695 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.1959, allocations: 3.984 kB / 0.6695 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.196, allocations: 8 kB / 0.6695 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.196, allocations: 0 / 0.6695 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.113e-05/0.1961, allocations: 95.2 kB / 0.6696 GB, free: 452 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1961, allocations: 4 kB / 0.6696 GB, free: 448 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002141/0.1963, allocations: 4 kB / 0.6696 GB, free: 444 kB / 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.0006594/0.197, allocations: 0.6969 MB / 0.6703 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.1972, allocations: 43.91 kB / 0.6703 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1972, allocations: 4 kB / 0.6703 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.087e-05/0.1973, allocations: 15.98 kB / 0.6704 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.1976, allocations: 8 kB / 0.6704 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.1994, allocations: 1.362 MB / 0.6717 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.1999, allocations: 0.6845 MB / 0.6724 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.1999, allocations: 15.92 kB / 0.6724 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.2, allocations: 11.44 kB / 0.6724 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.2, allocations: 0 / 0.6724 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06667/0.2667, allocations: 1.495 MB / 0.6738 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.794, allocations: 20.09 kB / 0.6739 GB, free: 12.04 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality.fmu > IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)