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: translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001727/0.001727, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7789/0.7789, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3325, allocations: 80.19 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002381/0.3349, allocations: 1.513 MB / 0.583 GB, free: 26.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005512/0.3355, allocations: 449.4 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.3356, allocations: 1.031 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.3356, allocations: 5.125 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.111e-05/0.3356, allocations: 8.703 kB / 0.5834 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.3358, allocations: 29.22 kB / 0.5834 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.299e-05/0.3359, allocations: 42.8 kB / 0.5835 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.336, allocations: 16.83 kB / 0.5835 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.3361, allocations: 28.75 kB / 0.5835 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.3362, allocations: 21.17 kB / 0.5835 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3362, allocations: 4.906 kB / 0.5836 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.3362, allocations: 4.5 kB / 0.5836 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.3362, allocations: 9.406 kB / 0.5836 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.3363, allocations: 24.7 kB / 0.5836 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.316e-05/0.3363, allocations: 38.38 kB / 0.5836 GB, free: 25.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3363, allocations: 0 / 0.5836 GB, free: 25.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3364, allocations: 0 / 0.5836 GB, free: 25.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.3364, allocations: 0.7812 kB / 0.5836 GB, free: 25.92 MB / 446.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.0004027/0.3368, allocations: 370.6 kB / 0.584 GB, free: 25.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.3368, allocations: 9.469 kB / 0.584 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.3368, allocations: 10.44 kB / 0.584 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.082e-05/0.3369, allocations: 181.5 kB / 0.5842 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.3369, allocations: 1.938 kB / 0.5842 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.337, allocations: 6.625 kB / 0.5842 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.3371, allocations: 71.67 kB / 0.5842 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.3372, allocations: 0 / 0.5842 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3372, allocations: 5.156 kB / 0.5843 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3372, allocations: 1.75 kB / 0.5843 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.3374, allocations: 41.19 kB / 0.5843 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.3377, allocations: 297.6 kB / 0.5846 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.338, allocations: 65.59 kB / 0.5846 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.077e-05/0.3381, allocations: 23.19 kB / 0.5847 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.3382, allocations: 2.5 kB / 0.5847 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.3382, allocations: 35.62 kB / 0.5847 GB, free: 24.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3382, allocations: 0 / 0.5847 GB, free: 24.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003167/0.3385, allocations: 84.41 kB / 0.5848 GB, free: 24.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.3385, allocations: 53.12 kB / 0.5848 GB, free: 24.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/0.3386, allocations: 122.3 kB / 0.5849 GB, free: 24.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.3386, allocations: 30.8 kB / 0.585 GB, free: 24.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.476e-05/0.3387, allocations: 87.39 kB / 0.5851 GB, free: 24.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.3387, allocations: 13.53 kB / 0.5851 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.3387, allocations: 19.89 kB / 0.5851 GB, free: 24.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.63e-05/0.3387, allocations: 317.8 kB / 0.5854 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-05/0.3388, allocations: 17.8 kB / 0.5854 GB, free: 24.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.87e-05/0.3389, allocations: 20.27 kB / 0.5854 GB, free: 24.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.3391, allocations: 40.48 kB / 0.5855 GB, free: 24.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3391, allocations: 0 / 0.5855 GB, free: 24.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001785/0.3393, allocations: 68.64 kB / 0.5855 GB, free: 24.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3393, allocations: 6.219 kB / 0.5855 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3393, allocations: 4.344 kB / 0.5855 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3393, allocations: 0 / 0.5855 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.3394, allocations: 12.78 kB / 0.5856 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3394, allocations: 0 / 0.5856 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.3394, allocations: 14.53 kB / 0.5856 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3395, allocations: 4 kB / 0.5856 GB, free: 24.01 MB / 446.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.581e-05/0.3395, allocations: 117.6 kB / 0.5857 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.3395, allocations: 3.938 kB / 0.5857 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.3396, allocations: 7.906 kB / 0.5857 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3396, allocations: 3.719 kB / 0.5857 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3396, allocations: 3.938 kB / 0.5857 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3396, allocations: 0 / 0.5857 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.3397, allocations: 175.5 kB / 0.5859 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3397, allocations: 0 / 0.5859 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.3398, allocations: 17.89 kB / 0.5859 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3398, allocations: 0 / 0.5859 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3398, allocations: 0.9688 kB / 0.5859 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3398, allocations: 0 / 0.5859 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3398, allocations: 0 / 0.5859 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.34, allocations: 178.4 kB / 0.5861 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.3401, allocations: 77.11 kB / 0.5861 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3401, allocations: 0 / 0.5861 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.3402, allocations: 5.938 kB / 0.5861 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.3402, allocations: 7.922 kB / 0.5861 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3402, allocations: 0 / 0.5861 GB, free: 23.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.123e-05/0.3403, allocations: 91.39 kB / 0.5862 GB, free: 23.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3403, allocations: 0 / 0.5862 GB, free: 23.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.3405, allocations: 21.59 kB / 0.5863 GB, free: 23.3 MB / 446.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 6.386e-05/0.3406, allocations: 92.12 kB / 0.5863 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.3408, allocations: 38.88 kB / 0.5864 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.3408, allocations: 0.5938 kB / 0.5864 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.333e-05/0.3409, allocations: 22.83 kB / 0.5864 GB, free: 23.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.3411, allocations: 6.562 kB / 0.5864 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.3415, allocations: 141.8 kB / 0.5865 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.3416, allocations: 0.6903 MB / 0.5872 GB, free: 22.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.854e-05/0.3416, allocations: 3.531 kB / 0.5872 GB, free: 22.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.3416, allocations: 9.875 kB / 0.5872 GB, free: 22.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3417, allocations: 0 / 0.5872 GB, free: 22.34 MB / 446.1 MB Notification: Performance of Templates: time 0.002179/0.3438, allocations: 471.3 kB / 0.5877 GB, free: 22.12 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.makefile (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 & ./IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)