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.006467/0.006467, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.0013/0.001301, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9383/0.9383, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 55.91 kB / 0.5856 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4097, allocations: 80.91 MB / 0.6646 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002404/0.4121, allocations: 1.52 MB / 0.6661 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005895/0.4127, allocations: 451 kB / 0.6665 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.4128, allocations: 1.062 kB / 0.6665 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.4128, allocations: 3.938 kB / 0.6665 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.953e-05/0.4129, allocations: 5.25 kB / 0.6665 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.4131, allocations: 25.05 kB / 0.6666 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.283e-05/0.4132, allocations: 45.34 kB / 0.6666 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.4133, allocations: 22.88 kB / 0.6666 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.4134, allocations: 23.88 kB / 0.6666 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.682e-05/0.4134, allocations: 22.19 kB / 0.6667 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.4134, allocations: 4.031 kB / 0.6667 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.4135, allocations: 3.438 kB / 0.6667 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.4135, allocations: 13.11 kB / 0.6667 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.4135, allocations: 25.42 kB / 0.6667 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.066e-05/0.4136, allocations: 36.08 kB / 0.6667 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4136, allocations: 5.125 kB / 0.6668 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4136, allocations: 0 / 0.6668 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.4136, allocations: 0 / 0.6668 GB, free: 5.926 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.0004635/0.4141, allocations: 357.1 kB / 0.6671 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.4141, allocations: 13.39 kB / 0.6671 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.4142, allocations: 7.25 kB / 0.6671 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.367e-05/0.4143, allocations: 181.6 kB / 0.6673 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.4143, allocations: 1.906 kB / 0.6673 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.4143, allocations: 7.594 kB / 0.6673 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.4145, allocations: 66.17 kB / 0.6674 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4145, allocations: 0.9062 kB / 0.6674 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.4145, allocations: 0 / 0.6674 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.4145, allocations: 5.281 kB / 0.6674 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.4147, allocations: 47.14 kB / 0.6674 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.415, allocations: 299.4 kB / 0.6677 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.4153, allocations: 57.58 kB / 0.6677 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.4154, allocations: 24.5 kB / 0.6678 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.4154, allocations: 0 / 0.6678 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.4155, allocations: 35.75 kB / 0.6678 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.4155, allocations: 0 / 0.6678 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003219/0.4158, allocations: 91.05 kB / 0.6679 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.4158, allocations: 52.84 kB / 0.6679 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.4159, allocations: 118 kB / 0.6681 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.4159, allocations: 25.7 kB / 0.6681 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.4159, allocations: 94.53 kB / 0.6682 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.416, allocations: 16.94 kB / 0.6682 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.416, allocations: 12.16 kB / 0.6682 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.354e-05/0.416, allocations: 325.1 kB / 0.6685 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.597e-05/0.4161, allocations: 13.39 kB / 0.6685 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.4162, allocations: 18.77 kB / 0.6685 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.4163, allocations: 47.12 kB / 0.6686 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4163, allocations: 4 kB / 0.6686 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001682/0.4165, allocations: 71.64 kB / 0.6687 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4165, allocations: 7.438 kB / 0.6687 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.4165, allocations: 0 / 0.6687 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.4166, allocations: 0 / 0.6687 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.283e-05/0.4166, allocations: 11.42 kB / 0.6687 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4167, allocations: 0 / 0.6687 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.4167, allocations: 7.812 kB / 0.6687 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.036e-06/0.4167, allocations: 5.188 kB / 0.6687 GB, free: 4.012 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 4.915e-05/0.4168, allocations: 117.9 kB / 0.6688 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.4168, allocations: 1.5 kB / 0.6688 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.4168, allocations: 10.94 kB / 0.6688 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.4168, allocations: 0 / 0.6688 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4169, allocations: 0 / 0.6688 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4169, allocations: 1.469 kB / 0.6688 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.417, allocations: 178.5 kB / 0.669 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.417, allocations: 0 / 0.669 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-05/0.4171, allocations: 15.47 kB / 0.669 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4171, allocations: 0 / 0.669 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.4171, allocations: 5.328 kB / 0.669 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4171, allocations: 0 / 0.669 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4171, allocations: 0 / 0.669 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.4173, allocations: 170.2 kB / 0.6692 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.4173, allocations: 90.56 kB / 0.6693 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.4173, allocations: 4 kB / 0.6693 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.4174, allocations: 3.031 kB / 0.6693 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.4175, allocations: 2.25 kB / 0.6693 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.4175, allocations: 9.422 kB / 0.6693 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.4175, allocations: 93.81 kB / 0.6694 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4175, allocations: 0 / 0.6694 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002151/0.4177, allocations: 9.625 kB / 0.6694 GB, free: 3.293 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.865e-05/0.4178, allocations: 103.3 kB / 0.6695 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.418, allocations: 42.41 kB / 0.6695 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.418, allocations: 0 / 0.6695 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.4181, allocations: 24.58 kB / 0.6695 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.4184, allocations: 2.375 kB / 0.6695 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.4187, allocations: 153.8 kB / 0.6697 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.4188, allocations: 0.6898 MB / 0.6704 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.903e-05/0.4189, allocations: 1.938 kB / 0.6704 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.4189, allocations: 10.47 kB / 0.6704 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.4189, allocations: 0 / 0.6704 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of Templates: time 0.002284/0.4212, allocations: 476 kB / 0.6708 GB, free: 2.07 MB / 0.4981 GB 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)