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.001018/0.001019, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008338/0.0008337, allocations: 93 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1692/0.1692, allocations: 37.99 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.925e-05, allocations: 0 / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.154, allocations: 56.33 MB / 466.9 MB, free: 6.555 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5259/0.6801, allocations: 93.24 MB / 0.547 GB, free: 1.672 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.6804, allocations: 87.89 kB / 0.5471 GB, free: 1.586 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03253/0.713, allocations: 13.08 MB / 0.5599 GB, free: 4.352 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.713, allocations: 4 kB / 0.5599 GB, free: 4.348 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.273e-05/0.7131, allocations: 8 kB / 0.5599 GB, free: 4.34 MB / 395.1 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.0007092/0.7138, allocations: 478.2 kB / 0.5603 GB, free: 3.828 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.7138, allocations: 12.03 kB / 0.5604 GB, free: 3.816 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008837/0.7147, allocations: 95.56 kB / 0.5604 GB, free: 3.723 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.7151, allocations: 267.2 kB / 0.5607 GB, free: 3.418 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.7151, allocations: 4 kB / 0.5607 GB, free: 3.414 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.7152, allocations: 12 kB / 0.5607 GB, free: 3.402 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003427/0.7155, allocations: 192.3 kB / 0.5609 GB, free: 3.215 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.716, allocations: 278.4 kB / 0.5612 GB, free: 2.918 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.716, allocations: 7.906 kB / 0.5612 GB, free: 2.91 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.7161, allocations: 0 / 0.5612 GB, free: 2.91 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.028e-05/0.7161, allocations: 19.98 kB / 0.5612 GB, free: 2.891 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.7179, allocations: 1.248 MB / 0.5624 GB, free: 1.555 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.7183, allocations: 222.3 kB / 0.5626 GB, free: 1.301 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/0.7184, allocations: 45.77 kB / 0.5627 GB, free: 1.25 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.7184, allocations: 4 kB / 0.5627 GB, free: 1.246 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.7185, allocations: 42.5 kB / 0.5627 GB, free: 1.195 MB / 395.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.7185, allocations: 0 / 0.5627 GB, free: 1.195 MB / 395.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005752/0.7191, allocations: 220.5 kB / 0.5629 GB, free: 0.9727 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.7192, allocations: 85.09 kB / 0.563 GB, free: 0.8711 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.7194, allocations: 151.5 kB / 0.5631 GB, free: 0.7148 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.7194, allocations: 25.7 kB / 0.5632 GB, free: 0.6836 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.7195, allocations: 163.7 kB / 0.5633 GB, free: 0.5195 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.7196, allocations: 51.28 kB / 0.5634 GB, free: 480 kB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.7196, allocations: 0 / 0.5634 GB, free: 480 kB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.7197, allocations: 330.9 kB / 0.5637 GB, free: 140 kB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.7198, allocations: 35.98 kB / 0.5637 GB, free: 104 kB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.72, allocations: 128.9 kB / 0.5638 GB, free: 15.93 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.7201, allocations: 74.19 kB / 0.5639 GB, free: 15.86 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7201, allocations: 0 / 0.5639 GB, free: 15.86 MB / 411.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002712/0.7204, allocations: 189.5 kB / 0.5641 GB, free: 15.67 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.7205, allocations: 7.938 kB / 0.5641 GB, free: 15.66 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.7205, allocations: 8 kB / 0.5641 GB, free: 15.65 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.7205, allocations: 4 kB / 0.5641 GB, free: 15.65 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.7207, allocations: 51.91 kB / 0.5642 GB, free: 15.6 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.7207, allocations: 4 kB / 0.5642 GB, free: 15.59 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.7208, allocations: 8.062 kB / 0.5642 GB, free: 15.59 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.7208, allocations: 11.94 kB / 0.5642 GB, free: 15.57 MB / 411.1 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 () * 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 9.796e-05/0.7209, allocations: 112.9 kB / 0.5643 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.721, allocations: 23.7 kB / 0.5643 GB, free: 15.43 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.7212, allocations: 131.6 kB / 0.5644 GB, free: 15.3 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.7212, allocations: 3.984 kB / 0.5644 GB, free: 15.3 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.7213, allocations: 0 / 0.5644 GB, free: 15.3 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7213, allocations: 0 / 0.5644 GB, free: 15.3 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007487/0.722, allocations: 0.5954 MB / 0.565 GB, free: 14.62 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.722, allocations: 4 kB / 0.565 GB, free: 14.61 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.7222, allocations: 32.36 kB / 0.5651 GB, free: 14.58 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.7222, allocations: 12.03 kB / 0.5651 GB, free: 14.57 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.7222, allocations: 8 kB / 0.5651 GB, free: 14.56 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.7222, allocations: 7.984 kB / 0.5651 GB, free: 14.55 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.7222, allocations: 7.938 kB / 0.5651 GB, free: 14.55 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.7226, allocations: 482.3 kB / 0.5656 GB, free: 13.93 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.7227, allocations: 96.91 kB / 0.5657 GB, free: 13.82 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.7228, allocations: 7.953 kB / 0.5657 GB, free: 13.81 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.7229, allocations: 4 kB / 0.5657 GB, free: 13.81 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.7229, allocations: 23.92 kB / 0.5657 GB, free: 13.79 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.7229, allocations: 8 kB / 0.5657 GB, free: 13.78 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.7231, allocations: 132.3 kB / 0.5658 GB, free: 13.65 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7231, allocations: 0 / 0.5658 GB, free: 13.65 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.7234, allocations: 47.94 kB / 0.5659 GB, free: 13.6 MB / 411.1 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 () * 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.0001518/0.7236, allocations: 113 kB / 0.566 GB, free: 13.48 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.7238, allocations: 119.8 kB / 0.5661 GB, free: 13.37 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7238, allocations: 0 / 0.5661 GB, free: 13.37 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.7239, allocations: 55.8 kB / 0.5661 GB, free: 13.31 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.7242, allocations: 29.94 kB / 0.5662 GB, free: 13.29 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/0.7248, allocations: 345.2 kB / 0.5665 GB, free: 12.88 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.7252, allocations: 0.7635 MB / 0.5672 GB, free: 12.09 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.000127/0.7254, allocations: 45.81 kB / 0.5673 GB, free: 12.04 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.7254, allocations: 15.44 kB / 0.5673 GB, free: 12.03 MB / 411.1 MB Notification: Performance of SimCode: time 2.51e-07/0.7254, allocations: 0 / 0.5673 GB, free: 12.03 MB / 411.1 MB Notification: Performance of Templates: time 0.003751/0.7292, allocations: 1.13 MB / 0.5684 GB, free: 10.9 MB / 411.1 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