Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001794/0.001794, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008473/0.0008475, allocations: 99.05 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.164/0.164, allocations: 38.06 MB / 357.2 MB, free: 1.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 12 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3021, allocations: 56.31 MB / 480.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4375, allocations: 94.01 MB / 0.5609 GB, free: 8.426 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.4378, allocations: 87.95 kB / 0.5609 GB, free: 8.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03142/0.4692, allocations: 13.22 MB / 0.5739 GB, free: 10.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4693, allocations: 0 / 0.5739 GB, free: 10.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.4693, allocations: 8 kB / 0.5739 GB, free: 10.94 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007019/0.47, allocations: 0.4949 MB / 0.5743 GB, free: 10.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4701, allocations: 12.03 kB / 0.5744 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007866/0.4709, allocations: 91.66 kB / 0.5744 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.4712, allocations: 271 kB / 0.5747 GB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.4713, allocations: 12 kB / 0.5747 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.4713, allocations: 16 kB / 0.5747 GB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.4718, allocations: 311.8 kB / 0.575 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.4718, allocations: 3.938 kB / 0.575 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.4718, allocations: 12 kB / 0.575 GB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.364e-05/0.4719, allocations: 19.98 kB / 0.5751 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.4723, allocations: 279.7 kB / 0.5753 GB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.4739, allocations: 1.289 MB / 0.5766 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.4743, allocations: 226.3 kB / 0.5768 GB, free: 7.672 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.4743, allocations: 8.047 kB / 0.5768 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.4743, allocations: 34.56 kB / 0.5768 GB, free: 7.621 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.4743, allocations: 3.938 kB / 0.5768 GB, free: 7.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005935/0.4749, allocations: 264.4 kB / 0.5771 GB, free: 7.352 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.475, allocations: 81.11 kB / 0.5772 GB, free: 7.254 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.4752, allocations: 181.6 kB / 0.5773 GB, free: 7.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.4752, allocations: 25.7 kB / 0.5774 GB, free: 7.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.43e-05/0.4753, allocations: 163.8 kB / 0.5775 GB, free: 6.871 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.4754, allocations: 47.58 kB / 0.5776 GB, free: 6.824 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.4754, allocations: 0 / 0.5776 GB, free: 6.824 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4755, allocations: 334.8 kB / 0.5779 GB, free: 6.488 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-05/0.4756, allocations: 39.98 kB / 0.5779 GB, free: 6.449 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.4757, allocations: 148.7 kB / 0.5781 GB, free: 6.258 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.4758, allocations: 68.62 kB / 0.5781 GB, free: 6.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4758, allocations: 0 / 0.5781 GB, free: 6.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002896/0.4761, allocations: 225 kB / 0.5784 GB, free: 5.965 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4762, allocations: 4 kB / 0.5784 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.4762, allocations: 7.984 kB / 0.5784 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4762, allocations: 11.94 kB / 0.5784 GB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.4763, allocations: 39.92 kB / 0.5784 GB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.4764, allocations: 11.94 kB / 0.5784 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.4765, allocations: 8.438 kB / 0.5784 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.4765, allocations: 16 kB / 0.5784 GB, free: 5.867 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 0.0001251/0.4766, allocations: 157.7 kB / 0.5786 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.4767, allocations: 31.8 kB / 0.5786 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.4769, allocations: 139 kB / 0.5788 GB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4769, allocations: 4 kB / 0.5788 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.4769, allocations: 3.984 kB / 0.5788 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4769, allocations: 0 / 0.5788 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008297/0.4778, allocations: 0.669 MB / 0.5794 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4778, allocations: 4 kB / 0.5794 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.4779, allocations: 23.98 kB / 0.5794 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4779, allocations: 4 kB / 0.5795 GB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.4779, allocations: 8 kB / 0.5795 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.478, allocations: 11.89 kB / 0.5795 GB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.478, allocations: 4 kB / 0.5795 GB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.4783, allocations: 0.4907 MB / 0.58 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.4784, allocations: 100.9 kB / 0.5801 GB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.4785, allocations: 8 kB / 0.5801 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.4786, allocations: 4 kB / 0.5801 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.4786, allocations: 23.88 kB / 0.5801 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.4786, allocations: 8 kB / 0.5801 GB, free: 3.914 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.4787, allocations: 144.1 kB / 0.5802 GB, free: 3.773 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4788, allocations: 4 kB / 0.5802 GB, free: 3.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003329/0.4791, allocations: 56 kB / 0.5803 GB, free: 3.715 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.0001183/0.4792, allocations: 107.1 kB / 0.5804 GB, free: 3.602 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.4794, allocations: 136.4 kB / 0.5805 GB, free: 3.469 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4795, allocations: 192 / 0.5805 GB, free: 3.469 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.4795, allocations: 59.86 kB / 0.5806 GB, free: 3.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.4798, allocations: 38.77 kB / 0.5806 GB, free: 3.375 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.4806, allocations: 0.5737 MB / 0.5812 GB, free: 2.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.4809, allocations: 0.7598 MB / 0.5819 GB, free: 1.941 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.481, allocations: 45.5 kB / 0.582 GB, free: 1.895 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.4811, allocations: 19.44 kB / 0.582 GB, free: 1.875 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4811, allocations: 3.938 kB / 0.582 GB, free: 1.871 MB / 410.7 MB Notification: Performance of Templates: time 0.003449/0.4846, allocations: 1.222 MB / 0.5832 GB, free: 0.6523 MB / 410.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches