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.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001238/0.001238, allocations: 193 kB / 16.13 MB, free: 6.66 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7394/0.7394, allocations: 132.2 MB / 422.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 61 kB / 0.5012 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5182/0.5195, allocations: 80.2 MB / 0.5795 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.003203/0.5228, allocations: 1.597 MB / 0.5811 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007136/0.5235, allocations: 434.6 kB / 0.5815 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.5236, allocations: 5.438 kB / 0.5815 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.5236, allocations: 8.641 kB / 0.5815 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.848e-05/0.5236, allocations: 5.969 kB / 0.5815 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.5238, allocations: 21.09 kB / 0.5815 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.135e-05/0.5239, allocations: 41.05 kB / 0.5815 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.524, allocations: 13.83 kB / 0.5816 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.5241, allocations: 27.34 kB / 0.5816 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.502e-05/0.5242, allocations: 22.78 kB / 0.5816 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.5242, allocations: 2.719 kB / 0.5816 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.5242, allocations: 3.156 kB / 0.5816 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.5243, allocations: 10.94 kB / 0.5816 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.5243, allocations: 17.88 kB / 0.5816 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.5244, allocations: 37.52 kB / 0.5817 GB, free: 3.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5244, allocations: 0 / 0.5817 GB, free: 3.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5244, allocations: 0 / 0.5817 GB, free: 3.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.5245, allocations: 1.125 kB / 0.5817 GB, free: 3.051 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.0005162/0.525, allocations: 369 kB / 0.582 GB, free: 2.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.525, allocations: 9.766 kB / 0.582 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.5251, allocations: 37.34 kB / 0.5821 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.5251, allocations: 10.92 kB / 0.5821 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.5252, allocations: 173.1 kB / 0.5822 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.5253, allocations: 6.531 kB / 0.5823 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.5253, allocations: 3.312 kB / 0.5823 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.5255, allocations: 67.75 kB / 0.5823 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.5255, allocations: 5.312 kB / 0.5823 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.5255, allocations: 4 kB / 0.5823 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.5255, allocations: 1.516 kB / 0.5823 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.5257, allocations: 39.39 kB / 0.5824 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.5262, allocations: 292.3 kB / 0.5826 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.5265, allocations: 64.91 kB / 0.5827 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.35e-05/0.5266, allocations: 22.92 kB / 0.5827 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.5266, allocations: 1.578 kB / 0.5827 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.5267, allocations: 32.19 kB / 0.5828 GB, free: 1.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.5267, allocations: 0 / 0.5828 GB, free: 1.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000389/0.5271, allocations: 91.73 kB / 0.5829 GB, free: 1.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.5271, allocations: 52.5 kB / 0.5829 GB, free: 1.867 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.5272, allocations: 119.6 kB / 0.583 GB, free: 1.762 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.5272, allocations: 29.64 kB / 0.583 GB, free: 1.727 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.5273, allocations: 96.89 kB / 0.5831 GB, free: 1.633 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.5273, allocations: 13.64 kB / 0.5831 GB, free: 1.621 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.5273, allocations: 17.73 kB / 0.5832 GB, free: 1.602 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.059e-05/0.5274, allocations: 323.2 kB / 0.5835 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.584e-05/0.5275, allocations: 16.94 kB / 0.5835 GB, free: 1.277 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.5276, allocations: 17.06 kB / 0.5835 GB, free: 1.273 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.5278, allocations: 36.14 kB / 0.5835 GB, free: 1.262 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5278, allocations: 0 / 0.5835 GB, free: 1.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002149/0.528, allocations: 77.08 kB / 0.5836 GB, free: 1.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.528, allocations: 4.688 kB / 0.5836 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.528, allocations: 1.062 kB / 0.5836 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.5281, allocations: 0 / 0.5836 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.182e-05/0.5281, allocations: 9.438 kB / 0.5836 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5282, allocations: 1.562 kB / 0.5836 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.326e-05/0.5282, allocations: 5.453 kB / 0.5836 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.5282, allocations: 8.625 kB / 0.5836 GB, free: 1.207 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 6.737e-05/0.5283, allocations: 117.1 kB / 0.5838 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.5283, allocations: 7.109 kB / 0.5838 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.5284, allocations: 10.55 kB / 0.5838 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5284, allocations: 1.125 kB / 0.5838 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5284, allocations: 0 / 0.5838 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5284, allocations: 5.641 kB / 0.5838 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.5286, allocations: 172.9 kB / 0.5839 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5286, allocations: 0.7031 kB / 0.5839 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-05/0.5287, allocations: 10.25 kB / 0.584 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.5287, allocations: 0 / 0.584 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5287, allocations: 5.312 kB / 0.584 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.5287, allocations: 0.5938 kB / 0.584 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5287, allocations: 3.938 kB / 0.584 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.529, allocations: 172.4 kB / 0.5841 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.529, allocations: 80.52 kB / 0.5842 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.529, allocations: 0.5625 kB / 0.5842 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.5291, allocations: 4.984 kB / 0.5842 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.5292, allocations: 6.984 kB / 0.5842 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.5292, allocations: 2.219 kB / 0.5842 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.284e-05/0.5292, allocations: 99.44 kB / 0.5843 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5292, allocations: 1.375 kB / 0.5843 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.5295, allocations: 9.375 kB / 0.5843 GB, free: 0.5195 MB / 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.0005621/0.53, allocations: 0.6972 MB / 0.585 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.5303, allocations: 40.09 kB / 0.585 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5303, allocations: 3.938 kB / 0.585 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.5304, allocations: 21.48 kB / 0.5851 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.5308, allocations: 10.33 kB / 0.5851 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.5325, allocations: 1.353 MB / 0.5864 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.5328, allocations: 0.687 MB / 0.5871 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.982e-05/0.5328, allocations: 6.844 kB / 0.5871 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.5329, allocations: 20.11 kB / 0.5871 GB, free: 13.86 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5329, allocations: 0 / 0.5871 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.011/0.5439, allocations: 1.316 MB / 0.5884 GB, free: 13.64 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.5441, allocations: 195.9 kB / 0.5886 GB, free: 13.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.19, allocations: 0 / 0.5886 GB, free: 13.38 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)