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: translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001562/0.001562, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001702/0.001702, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8287/0.8287, allocations: 135.1 MB / 426.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.91 kB / 0.506 GB, free: 8.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3414, allocations: 80.9 MB / 0.585 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002431/0.3439, allocations: 1.529 MB / 0.5865 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005813/0.3445, allocations: 436.7 kB / 0.5869 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.726e-05/0.3445, allocations: 2.344 kB / 0.5869 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.3446, allocations: 9.359 kB / 0.5869 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.3446, allocations: 11.86 kB / 0.5869 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.3448, allocations: 21.42 kB / 0.5869 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.3449, allocations: 41.55 kB / 0.587 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.345, allocations: 23.17 kB / 0.587 GB, free: 23.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.537e-05/0.3451, allocations: 23.78 kB / 0.587 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.989e-05/0.3452, allocations: 22.2 kB / 0.5871 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.3452, allocations: 3.031 kB / 0.5871 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.3452, allocations: 4.312 kB / 0.5871 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.3452, allocations: 10.73 kB / 0.5871 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.3453, allocations: 23.97 kB / 0.5871 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.824e-05/0.3453, allocations: 45.47 kB / 0.5871 GB, free: 23.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3454, allocations: 0.6562 kB / 0.5871 GB, free: 23.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3454, allocations: 0 / 0.5871 GB, free: 23.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3454, allocations: 1.031 kB / 0.5871 GB, free: 23.55 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.0004118/0.3458, allocations: 368.8 kB / 0.5875 GB, free: 23.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3458, allocations: 10.48 kB / 0.5875 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.3459, allocations: 8.375 kB / 0.5875 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.549e-05/0.346, allocations: 174.9 kB / 0.5877 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.346, allocations: 2.562 kB / 0.5877 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.346, allocations: 8.25 kB / 0.5877 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3462, allocations: 63.8 kB / 0.5877 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3462, allocations: 1.844 kB / 0.5877 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3462, allocations: 0 / 0.5877 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3462, allocations: 1.156 kB / 0.5877 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.3464, allocations: 39.66 kB / 0.5878 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.3468, allocations: 301.8 kB / 0.5881 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.3471, allocations: 64.88 kB / 0.5881 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.99e-05/0.3472, allocations: 23.28 kB / 0.5882 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.3472, allocations: 1.375 kB / 0.5882 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.3472, allocations: 31.75 kB / 0.5882 GB, free: 22.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3472, allocations: 3.938 kB / 0.5882 GB, free: 22.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003547/0.3476, allocations: 88.62 kB / 0.5883 GB, free: 22.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.3476, allocations: 53.78 kB / 0.5883 GB, free: 22.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/0.3477, allocations: 121 kB / 0.5884 GB, free: 22.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.3477, allocations: 27.83 kB / 0.5885 GB, free: 22.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.3478, allocations: 90.3 kB / 0.5886 GB, free: 22.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.3478, allocations: 21.58 kB / 0.5886 GB, free: 22.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.3478, allocations: 12.16 kB / 0.5886 GB, free: 22.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.087e-05/0.3479, allocations: 321.8 kB / 0.5889 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.076e-05/0.348, allocations: 18.77 kB / 0.5889 GB, free: 21.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.939e-05/0.348, allocations: 14.64 kB / 0.5889 GB, free: 21.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.3482, allocations: 44.86 kB / 0.589 GB, free: 21.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3482, allocations: 0 / 0.589 GB, free: 21.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002/0.3484, allocations: 71.66 kB / 0.589 GB, free: 21.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3485, allocations: 5.531 kB / 0.589 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3485, allocations: 5.094 kB / 0.589 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3485, allocations: 1.234 kB / 0.589 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.3486, allocations: 11.06 kB / 0.5891 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3486, allocations: 1.031 kB / 0.5891 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.3486, allocations: 7.891 kB / 0.5891 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3486, allocations: 1.188 kB / 0.5891 GB, free: 21.66 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.86e-05/0.3487, allocations: 119.3 kB / 0.5892 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.3487, allocations: 6.75 kB / 0.5892 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.3488, allocations: 13.34 kB / 0.5892 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3488, allocations: 0 / 0.5892 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3488, allocations: 5.094 kB / 0.5892 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3488, allocations: 0 / 0.5892 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3489, allocations: 175.8 kB / 0.5894 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3489, allocations: 0 / 0.5894 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.303e-05/0.349, allocations: 11.36 kB / 0.5894 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.349, allocations: 1.344 kB / 0.5894 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.349, allocations: 1.625 kB / 0.5894 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.349, allocations: 1.562 kB / 0.5894 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.349, allocations: 0 / 0.5894 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.3493, allocations: 171.3 kB / 0.5896 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.3493, allocations: 78.64 kB / 0.5896 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3493, allocations: 1.594 kB / 0.5896 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.3494, allocations: 6.672 kB / 0.5896 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.3494, allocations: 3.25 kB / 0.5896 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.3494, allocations: 5.219 kB / 0.5896 GB, free: 21.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.603e-05/0.3495, allocations: 100.9 kB / 0.5897 GB, free: 20.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3495, allocations: 3.938 kB / 0.5897 GB, free: 20.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.3497, allocations: 9.219 kB / 0.5898 GB, free: 20.95 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 9.255e-05/0.3498, allocations: 95.09 kB / 0.5898 GB, free: 20.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.3501, allocations: 46.05 kB / 0.5899 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3501, allocations: 0 / 0.5899 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.909e-05/0.3502, allocations: 20.95 kB / 0.5899 GB, free: 20.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.3505, allocations: 2.719 kB / 0.5899 GB, free: 20.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.3509, allocations: 178.6 kB / 0.5901 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.3511, allocations: 0.6807 MB / 0.5907 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.3511, allocations: 11.31 kB / 0.5908 GB, free: 19.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3511, allocations: 0 / 0.5908 GB, free: 19.96 MB / 446.1 MB Notification: Performance of Templates: time 0.002133/0.3532, allocations: 0.7175 MB / 0.5915 GB, free: 19.62 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)