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.001319/0.001318, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001554/0.001554, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.48/1.48, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000556/0.0005561, allocations: 8 kB / 0.5069 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2341, allocations: 82.31 MB / 0.5873 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002654/0.2368, allocations: 1.223 MB / 0.5885 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.2379, allocations: 391.4 kB / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.238, allocations: 0 / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.2381, allocations: 3.984 kB / 0.5888 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.2382, allocations: 11.92 kB / 0.5889 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.2385, allocations: 23.91 kB / 0.5889 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2386, allocations: 27.95 kB / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2388, allocations: 12 kB / 0.5889 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.2389, allocations: 19.92 kB / 0.5889 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.239, allocations: 19.91 kB / 0.589 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.2391, allocations: 4 kB / 0.589 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.2391, allocations: 0 / 0.589 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.2391, allocations: 7.938 kB / 0.589 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.2392, allocations: 33.64 kB / 0.589 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.616e-05/0.2393, allocations: 23.94 kB / 0.589 GB, free: 1.246 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2393, allocations: 0 / 0.589 GB, free: 1.246 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2393, allocations: 0 / 0.589 GB, free: 1.246 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.2393, allocations: 4 kB / 0.589 GB, free: 1.242 MB / 494.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.0007307/0.2401, allocations: 359.4 kB / 0.5894 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.2401, allocations: 8.031 kB / 0.5894 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.624e-05/0.2402, allocations: 42.5 kB / 0.5894 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.2402, allocations: 0 / 0.5894 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.2404, allocations: 178.9 kB / 0.5896 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.2405, allocations: 0 / 0.5896 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.2405, allocations: 8 kB / 0.5896 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.2409, allocations: 69.66 kB / 0.5897 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2409, allocations: 0 / 0.5897 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.2409, allocations: 4 kB / 0.5897 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.241, allocations: 4 kB / 0.5897 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.2413, allocations: 51.91 kB / 0.5897 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000853/0.2422, allocations: 296.7 kB / 0.59 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.2428, allocations: 70.55 kB / 0.5901 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.2429, allocations: 8 kB / 0.5901 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.2429, allocations: 34.5 kB / 0.5901 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.2429, allocations: 0 / 0.5901 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006541/0.2436, allocations: 101.7 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.2437, allocations: 55.36 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.2438, allocations: 121.8 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.2439, allocations: 25.7 kB / 0.5904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.244, allocations: 96.03 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.244, allocations: 7.906 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-06/0.244, allocations: 4 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.2442, allocations: 314.8 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.2444, allocations: 19.98 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.2446, allocations: 23.92 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2447, allocations: 23.98 kB / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2448, allocations: 0 / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004455/0.2452, allocations: 81.56 kB / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.2453, allocations: 4 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2453, allocations: 0 / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2453, allocations: 4 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.2455, allocations: 11.94 kB / 0.591 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.2455, allocations: 7.984 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.2456, allocations: 7.953 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.2456, allocations: 0 / 0.591 GB, free: 15.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.2458, allocations: 116.2 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.2458, allocations: 0 / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.015e-05/0.2459, allocations: 19.89 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2459, allocations: 336 / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.2459, allocations: 0 / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.246, allocations: 3.938 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.2463, allocations: 173.6 kB / 0.5913 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2464, allocations: 0 / 0.5913 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.2465, allocations: 15.97 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.2465, allocations: 0 / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.2465, allocations: 3.938 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2465, allocations: 0 / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2466, allocations: 4 kB / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.2472, allocations: 179.4 kB / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.53e-05/0.2473, allocations: 85.02 kB / 0.5916 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.2473, allocations: 0 / 0.5916 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.2475, allocations: 15.98 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.2476, allocations: 0 / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.2476, allocations: 0 / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.637e-05/0.2477, allocations: 95.27 kB / 0.5917 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.505e-06/0.2477, allocations: 0 / 0.5917 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004249/0.2481, allocations: 11.88 kB / 0.5917 GB, free: 14.21 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 (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.0008822/0.249, allocations: 0.7046 MB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.2494, allocations: 51.97 kB / 0.5924 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2494, allocations: 0 / 0.5924 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.2496, allocations: 27.92 kB / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.25, allocations: 2.344 kB / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.2517, allocations: 0.5076 MB / 0.5929 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.2522, allocations: 0.6887 MB / 0.5936 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.288e-05/0.2523, allocations: 3.938 kB / 0.5936 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.2524, allocations: 19.42 kB / 0.5936 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.2524, allocations: 192 / 0.5936 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.272, allocations: 1.232 MB / 0.5948 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/0.2723, allocations: 177.6 kB / 0.595 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/2.966, allocations: 4 kB / 0.595 GB, free: 10.78 MB / 0.4981 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/linux/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) Environment - environmentSimulation: