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.00117/0.00117, allocations: 103.8 kB / 16.41 MB, free: 6.441 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.001142/0.001142, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.168/1.168, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7167/0.7167, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 61.31 kB / 0.5862 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1247, allocations: 80.92 MB / 0.6653 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002375/0.1271, allocations: 1.527 MB / 0.6668 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006403/0.1278, allocations: 446.8 kB / 0.6672 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.1278, allocations: 0 / 0.6672 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.1279, allocations: 3.938 kB / 0.6672 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.297e-05/0.1279, allocations: 3.938 kB / 0.6672 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.1281, allocations: 31.91 kB / 0.6672 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.79e-05/0.1282, allocations: 47.84 kB / 0.6673 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1283, allocations: 15.98 kB / 0.6673 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1284, allocations: 27.86 kB / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.1285, allocations: 19.91 kB / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1285, allocations: 4 kB / 0.6673 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.789e-06/0.1285, allocations: 4 kB / 0.6673 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.1285, allocations: 15.94 kB / 0.6673 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.1286, allocations: 23.86 kB / 0.6674 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.508e-05/0.1287, allocations: 35.88 kB / 0.6674 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1287, allocations: 0 / 0.6674 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1287, allocations: 0 / 0.6674 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1287, allocations: 0 / 0.6674 GB, free: 3.629 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.0004622/0.1292, allocations: 363.3 kB / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.1292, allocations: 9.109 kB / 0.6678 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.1292, allocations: 16.77 kB / 0.6678 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1294, allocations: 176.2 kB / 0.6679 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.1294, allocations: 4.312 kB / 0.6679 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.1294, allocations: 8.375 kB / 0.668 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1296, allocations: 61.98 kB / 0.668 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1296, allocations: 0 / 0.668 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1296, allocations: 0 / 0.668 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1296, allocations: 0 / 0.668 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1298, allocations: 39.97 kB / 0.6681 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.1302, allocations: 312.6 kB / 0.6684 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.1305, allocations: 58.55 kB / 0.6684 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.1306, allocations: 20.91 kB / 0.6684 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.1306, allocations: 11.98 kB / 0.6684 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.1306, allocations: 30.56 kB / 0.6685 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1307, allocations: 0 / 0.6685 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003322/0.131, allocations: 89.58 kB / 0.6686 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.131, allocations: 55.41 kB / 0.6686 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.1311, allocations: 113.8 kB / 0.6687 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1311, allocations: 29.7 kB / 0.6687 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.1312, allocations: 96.03 kB / 0.6688 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.1312, allocations: 11.91 kB / 0.6688 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.1312, allocations: 9.719 kB / 0.6689 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1313, allocations: 326.8 kB / 0.6692 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.652e-05/0.1314, allocations: 11.98 kB / 0.6692 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.698e-05/0.1315, allocations: 15.98 kB / 0.6692 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1316, allocations: 48.77 kB / 0.6692 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.1317, allocations: 0 / 0.6692 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001804/0.1318, allocations: 73.58 kB / 0.6693 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1319, allocations: 4 kB / 0.6693 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1319, allocations: 0 / 0.6693 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1319, allocations: 0 / 0.6693 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.132, allocations: 11.98 kB / 0.6693 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.132, allocations: 0 / 0.6693 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.132, allocations: 12 kB / 0.6693 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.132, allocations: 3.938 kB / 0.6693 GB, free: 1.422 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 7.259e-05/0.1321, allocations: 121.8 kB / 0.6695 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.1322, allocations: 0 / 0.6695 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.1322, allocations: 7.906 kB / 0.6695 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1322, allocations: 3.938 kB / 0.6695 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1322, allocations: 0 / 0.6695 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1322, allocations: 0 / 0.6695 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.1324, allocations: 181.5 kB / 0.6696 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1324, allocations: 4 kB / 0.6696 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.46e-05/0.1324, allocations: 4 kB / 0.6696 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1325, allocations: 4 kB / 0.6697 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1325, allocations: 7.984 kB / 0.6697 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1325, allocations: 0 / 0.6697 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1325, allocations: 0 / 0.6697 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.1327, allocations: 167.4 kB / 0.6698 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.1327, allocations: 92.94 kB / 0.6699 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.1328, allocations: 0 / 0.6699 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.1328, allocations: 4 kB / 0.6699 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.1329, allocations: 0 / 0.6699 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1329, allocations: 384 / 0.6699 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.1329, allocations: 99.27 kB / 0.67 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1329, allocations: 0 / 0.67 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000209/0.1332, allocations: 11.94 kB / 0.67 GB, free: 0.6289 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.456e-05/0.1332, allocations: 104.5 kB / 0.6701 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.1334, allocations: 43.95 kB / 0.6702 GB, free: 488 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1335, allocations: 0 / 0.6702 GB, free: 488 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.1335, allocations: 19.98 kB / 0.6702 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.1338, allocations: 4 kB / 0.6702 GB, free: 464 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.1341, allocations: 176.2 kB / 0.6704 GB, free: 256 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1343, allocations: 0.6846 MB / 0.671 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.1344, allocations: 7.438 kB / 0.671 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1344, allocations: 0 / 0.671 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of Templates: time 0.001729/0.1361, allocations: 0.7174 MB / 0.6717 GB, free: 14.81 MB / 0.5137 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)