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.000839/0.000839, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008871/0.0008871, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6491/0.6491, allocations: 132.4 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002627, allocations: 8.75 kB / 0.5034 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3224, allocations: 81.58 MB / 0.5831 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.001294/0.3237, allocations: 1.226 MB / 0.5843 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005254/0.3243, allocations: 412.3 kB / 0.5847 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.3243, allocations: 5.094 kB / 0.5847 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.3244, allocations: 1.688 kB / 0.5847 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.297e-05/0.3244, allocations: 5.531 kB / 0.5847 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.3246, allocations: 13 kB / 0.5847 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.626e-05/0.3247, allocations: 42.88 kB / 0.5847 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.3247, allocations: 13.48 kB / 0.5847 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.3248, allocations: 14.84 kB / 0.5847 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.3249, allocations: 25.38 kB / 0.5848 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.3249, allocations: 1.156 kB / 0.5848 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.3249, allocations: 2.219 kB / 0.5848 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.3249, allocations: 6.406 kB / 0.5848 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.685e-05/0.3249, allocations: 31.95 kB / 0.5848 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.578e-05/0.325, allocations: 32.56 kB / 0.5848 GB, free: 2.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.325, allocations: 0 / 0.5848 GB, free: 2.938 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.325, allocations: 0.75 kB / 0.5848 GB, free: 2.938 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.237e-06/0.325, allocations: 3.938 kB / 0.5848 GB, free: 2.934 MB / 430.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.0003527/0.3254, allocations: 362 kB / 0.5852 GB, free: 2.566 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.3254, allocations: 9.5 kB / 0.5852 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.3255, allocations: 2.375 kB / 0.5852 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.81e-05/0.3255, allocations: 180.4 kB / 0.5854 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3256, allocations: 1.312 kB / 0.5854 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.3256, allocations: 2.125 kB / 0.5854 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3257, allocations: 72.06 kB / 0.5854 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.3258, allocations: 0.9062 kB / 0.5854 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.3258, allocations: 0 / 0.5854 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3258, allocations: 1.312 kB / 0.5855 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.3259, allocations: 54.84 kB / 0.5855 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.3263, allocations: 302.1 kB / 0.5858 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.3266, allocations: 72.69 kB / 0.5859 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/0.3266, allocations: 35.36 kB / 0.5859 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.3267, allocations: 0.9062 kB / 0.5859 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.047e-05/0.3267, allocations: 32.09 kB / 0.5859 GB, free: 1.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3267, allocations: 0 / 0.5859 GB, free: 1.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003178/0.327, allocations: 99.52 kB / 0.586 GB, free: 1.855 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.327, allocations: 53.05 kB / 0.5861 GB, free: 1.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.663e-05/0.3271, allocations: 126.7 kB / 0.5862 GB, free: 1.684 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.3271, allocations: 25.7 kB / 0.5862 GB, free: 1.652 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.3272, allocations: 96.5 kB / 0.5863 GB, free: 1.559 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.3272, allocations: 5.344 kB / 0.5863 GB, free: 1.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.3272, allocations: 0 / 0.5863 GB, free: 1.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.494e-05/0.3272, allocations: 319 kB / 0.5866 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.3273, allocations: 25.77 kB / 0.5866 GB, free: 1.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.3274, allocations: 20.53 kB / 0.5867 GB, free: 1.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.068e-05/0.3275, allocations: 20.94 kB / 0.5867 GB, free: 1.223 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3275, allocations: 0 / 0.5867 GB, free: 1.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001745/0.3276, allocations: 76.22 kB / 0.5868 GB, free: 1.184 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3277, allocations: 4.812 kB / 0.5868 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3277, allocations: 1.969 kB / 0.5868 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3277, allocations: 7.953 kB / 0.5868 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.3278, allocations: 11.08 kB / 0.5868 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3278, allocations: 9.203 kB / 0.5868 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.3278, allocations: 19.06 kB / 0.5868 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3278, allocations: 0.7188 kB / 0.5868 GB, free: 1.156 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/0.3279, allocations: 113.7 kB / 0.5869 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.3279, allocations: 6.375 kB / 0.5869 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.328, allocations: 14.11 kB / 0.5869 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.328, allocations: 5.438 kB / 0.5869 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.328, allocations: 4.562 kB / 0.5869 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.328, allocations: 0 / 0.5869 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.3281, allocations: 170.2 kB / 0.5871 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3281, allocations: 0.6562 kB / 0.5871 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/0.3282, allocations: 11.52 kB / 0.5871 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3282, allocations: 0 / 0.5871 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.3282, allocations: 1.297 kB / 0.5871 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3282, allocations: 5.562 kB / 0.5871 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3282, allocations: 0 / 0.5871 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.3284, allocations: 174.9 kB / 0.5873 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.3284, allocations: 84.52 kB / 0.5874 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3284, allocations: 9.094 kB / 0.5874 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.3285, allocations: 6.438 kB / 0.5874 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.3286, allocations: 3 kB / 0.5874 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.3286, allocations: 9.625 kB / 0.5874 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.356e-05/0.3286, allocations: 96.12 kB / 0.5875 GB, free: 480 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3286, allocations: 0 / 0.5875 GB, free: 480 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.3288, allocations: 6.625 kB / 0.5875 GB, free: 480 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.685e-05/0.3289, allocations: 101.8 kB / 0.5876 GB, free: 380 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.3291, allocations: 42.62 kB / 0.5876 GB, free: 376 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3291, allocations: 1.312 kB / 0.5876 GB, free: 376 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.3292, allocations: 23.73 kB / 0.5877 GB, free: 372 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.3294, allocations: 19.41 kB / 0.5877 GB, free: 360 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.3297, allocations: 160.8 kB / 0.5878 GB, free: 224 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.3299, allocations: 0.6825 MB / 0.5885 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.3299, allocations: 12.12 kB / 0.5885 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.33, allocations: 8.812 kB / 0.5885 GB, free: 15.51 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.33, allocations: 0.6562 kB / 0.5885 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Templates: time 0.002054/0.332, allocations: 400.6 kB / 0.5889 GB, free: 15.45 MB / 446.1 MB 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)