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.001328/0.001328, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001543, allocations: 199.8 kB / 16.79 MB, free: 6.809 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.402/1.402, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9152/0.9152, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 65.14 kB / 0.5053 GB, free: 5.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2271, allocations: 80.93 MB / 0.5843 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.004246/0.2314, allocations: 1.583 MB / 0.5859 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009333/0.2323, allocations: 423 kB / 0.5863 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.2324, allocations: 4 kB / 0.5863 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.596e-05/0.2325, allocations: 11.92 kB / 0.5863 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.837e-05/0.2326, allocations: 3.938 kB / 0.5863 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.2328, allocations: 15.98 kB / 0.5863 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.506e-05/0.2329, allocations: 39.92 kB / 0.5864 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.233, allocations: 23.97 kB / 0.5864 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.2332, allocations: 23.86 kB / 0.5864 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.2332, allocations: 31.8 kB / 0.5864 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.2333, allocations: 0 / 0.5864 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.532e-05/0.2333, allocations: 4 kB / 0.5864 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.2333, allocations: 0 / 0.5864 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.2334, allocations: 27.84 kB / 0.5865 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.523e-05/0.2335, allocations: 19.97 kB / 0.5865 GB, free: 2.809 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.2335, allocations: 3.984 kB / 0.5865 GB, free: 2.805 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2335, allocations: 0 / 0.5865 GB, free: 2.805 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2335, allocations: 0 / 0.5865 GB, free: 2.805 MB / 494.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.0006417/0.2341, allocations: 367.6 kB / 0.5868 GB, free: 2.398 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2342, allocations: 8.031 kB / 0.5869 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.2342, allocations: 12.78 kB / 0.5869 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.2344, allocations: 172.3 kB / 0.587 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.2344, allocations: 384 / 0.587 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.2345, allocations: 8.375 kB / 0.587 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.2347, allocations: 65.92 kB / 0.5871 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2348, allocations: 0 / 0.5871 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2348, allocations: 4 kB / 0.5871 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2348, allocations: 0 / 0.5871 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.2351, allocations: 43.95 kB / 0.5871 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.2357, allocations: 296.7 kB / 0.5874 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.2362, allocations: 70.47 kB / 0.5875 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.2363, allocations: 20.91 kB / 0.5875 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.2363, allocations: 4 kB / 0.5875 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2364, allocations: 30.56 kB / 0.5875 GB, free: 1.562 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.462e-06/0.2364, allocations: 0 / 0.5875 GB, free: 1.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005222/0.2369, allocations: 89.56 kB / 0.5876 GB, free: 1.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.237, allocations: 63.33 kB / 0.5877 GB, free: 1.395 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.2371, allocations: 113.8 kB / 0.5878 GB, free: 1.273 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.2371, allocations: 29.7 kB / 0.5878 GB, free: 1.238 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.2372, allocations: 88.08 kB / 0.5879 GB, free: 1.148 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.2372, allocations: 15.89 kB / 0.5879 GB, free: 1.133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.2373, allocations: 9.719 kB / 0.5879 GB, free: 1.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2375, allocations: 326.8 kB / 0.5883 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.2376, allocations: 15.98 kB / 0.5883 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.2377, allocations: 11.98 kB / 0.5883 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.238, allocations: 40.83 kB / 0.5883 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.238, allocations: 0 / 0.5883 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003179/0.2383, allocations: 81.5 kB / 0.5884 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2384, allocations: 11.94 kB / 0.5884 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2384, allocations: 0 / 0.5884 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2384, allocations: 0 / 0.5884 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.2385, allocations: 11.98 kB / 0.5884 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2385, allocations: 3.938 kB / 0.5884 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/0.2386, allocations: 4 kB / 0.5884 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.2386, allocations: 0 / 0.5884 GB, free: 0.6016 MB / 494.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 0.0001027/0.2387, allocations: 117.8 kB / 0.5885 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.2388, allocations: 7.906 kB / 0.5885 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.2389, allocations: 11.89 kB / 0.5886 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.2389, allocations: 0 / 0.5886 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2389, allocations: 4 kB / 0.5886 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2389, allocations: 0 / 0.5886 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.2392, allocations: 173.6 kB / 0.5887 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2392, allocations: 0 / 0.5887 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.2393, allocations: 11.98 kB / 0.5887 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2393, allocations: 0 / 0.5887 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2393, allocations: 4 kB / 0.5887 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2393, allocations: 4 kB / 0.5887 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2393, allocations: 0 / 0.5887 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.2397, allocations: 171.6 kB / 0.5889 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.2398, allocations: 81.11 kB / 0.589 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.2398, allocations: 48 / 0.589 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.24, allocations: 11.97 kB / 0.589 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.24, allocations: 0 / 0.589 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.2401, allocations: 4 kB / 0.589 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.73e-05/0.2402, allocations: 102.7 kB / 0.5891 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2402, allocations: 0 / 0.5891 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003928/0.2406, allocations: 7.938 kB / 0.5891 GB, free: 15.81 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 0.000109/0.2407, allocations: 103.2 kB / 0.5892 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.241, allocations: 43.95 kB / 0.5892 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.241, allocations: 4 kB / 0.5893 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.2412, allocations: 23.92 kB / 0.5893 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.2416, allocations: 4 kB / 0.5893 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.2421, allocations: 186 kB / 0.5895 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.2424, allocations: 0.6888 MB / 0.5901 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.2425, allocations: 11.42 kB / 0.5901 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.2425, allocations: 0 / 0.5901 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.002578/0.2451, allocations: 0.7035 MB / 0.5908 GB, free: 13.98 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)