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.005127/0.005127, allocations: 99.73 kB / 15.73 MB, free: 6.043 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.001187/0.001187, allocations: 194.5 kB / 16.68 MB, free: 5.961 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9471/0.9471, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 66.53 kB / 0.5813 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1427, allocations: 80.21 MB / 0.6596 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002824/0.1456, allocations: 1.512 MB / 0.6611 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008678/0.1464, allocations: 446.8 kB / 0.6615 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.247e-05/0.1465, allocations: 4 kB / 0.6616 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.252e-05/0.1466, allocations: 3.938 kB / 0.6616 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-05/0.1467, allocations: 3.938 kB / 0.6616 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1469, allocations: 27.89 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.147, allocations: 51.86 kB / 0.6616 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.1472, allocations: 19.97 kB / 0.6617 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.1473, allocations: 27.84 kB / 0.6617 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.843e-05/0.1474, allocations: 23.92 kB / 0.6617 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.1474, allocations: 4 kB / 0.6617 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.1475, allocations: 4 kB / 0.6617 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.1475, allocations: 15.86 kB / 0.6617 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.1475, allocations: 19.88 kB / 0.6617 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.1477, allocations: 43.88 kB / 0.6618 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1477, allocations: 0 / 0.6618 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1477, allocations: 0 / 0.6618 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.1477, allocations: 0 / 0.6618 GB, free: 8.066 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.0005894/0.1483, allocations: 363.2 kB / 0.6621 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1483, allocations: 12.03 kB / 0.6621 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.1484, allocations: 0.9375 kB / 0.6621 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1485, allocations: 176.2 kB / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1485, allocations: 4.375 kB / 0.6623 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1486, allocations: 8.312 kB / 0.6623 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1488, allocations: 65.97 kB / 0.6624 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1488, allocations: 4 kB / 0.6624 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1488, allocations: 4 kB / 0.6624 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1488, allocations: 4 kB / 0.6624 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.149, allocations: 39.97 kB / 0.6624 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.1494, allocations: 300.6 kB / 0.6627 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.1498, allocations: 62.53 kB / 0.6628 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.004e-05/0.1499, allocations: 24.91 kB / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.1499, allocations: 0 / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.1499, allocations: 38.56 kB / 0.6628 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1499, allocations: 0 / 0.6628 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003594/0.1503, allocations: 89.69 kB / 0.6629 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1503, allocations: 51.41 kB / 0.663 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1504, allocations: 121.8 kB / 0.6631 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1505, allocations: 25.7 kB / 0.6631 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.1505, allocations: 96.14 kB / 0.6632 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.1506, allocations: 3.906 kB / 0.6632 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.1506, allocations: 21.7 kB / 0.6632 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1507, allocations: 314.8 kB / 0.6635 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.423e-05/0.1508, allocations: 15.98 kB / 0.6636 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.1509, allocations: 23.97 kB / 0.6636 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.1511, allocations: 40.83 kB / 0.6636 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1511, allocations: 0 / 0.6636 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001961/0.1513, allocations: 73.52 kB / 0.6637 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1513, allocations: 4 kB / 0.6637 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1513, allocations: 4 kB / 0.6637 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1513, allocations: 7.922 kB / 0.6637 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.1514, allocations: 4 kB / 0.6637 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1514, allocations: 0 / 0.6637 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.1515, allocations: 11.98 kB / 0.6637 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1515, allocations: 4 kB / 0.6637 GB, free: 5.863 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 8.757e-05/0.1516, allocations: 117.7 kB / 0.6638 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.1516, allocations: 7.906 kB / 0.6638 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.1517, allocations: 7.906 kB / 0.6638 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1517, allocations: 0 / 0.6638 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1517, allocations: 4 kB / 0.6638 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1517, allocations: 3.984 kB / 0.6639 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.1519, allocations: 169.6 kB / 0.664 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1519, allocations: 4 kB / 0.664 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.152, allocations: 15.92 kB / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.152, allocations: 0 / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.152, allocations: 0 / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.152, allocations: 0 / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.152, allocations: 0 / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1522, allocations: 167.5 kB / 0.6642 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.1523, allocations: 88.95 kB / 0.6643 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.1523, allocations: 4 kB / 0.6643 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.1524, allocations: 4 kB / 0.6643 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.1524, allocations: 11.98 kB / 0.6643 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.1524, allocations: 0 / 0.6643 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.822e-05/0.1525, allocations: 92.69 kB / 0.6644 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1525, allocations: 0 / 0.6644 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002155/0.1527, allocations: 11.94 kB / 0.6644 GB, free: 5.062 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 8.77e-05/0.1528, allocations: 99.25 kB / 0.6645 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.153, allocations: 39.91 kB / 0.6645 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.153, allocations: 0 / 0.6645 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.1531, allocations: 19.98 kB / 0.6645 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.1534, allocations: 13.55 kB / 0.6646 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.1538, allocations: 134.6 kB / 0.6647 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.154, allocations: 0.6923 MB / 0.6654 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.1541, allocations: 4.375 kB / 0.6654 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.1541, allocations: 7.438 kB / 0.6654 GB, free: 4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1541, allocations: 0 / 0.6654 GB, free: 4 MB / 0.4981 GB Notification: Performance of Templates: time 0.002286/0.1564, allocations: 472 kB / 0.6658 GB, free: 3.543 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)