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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001139, allocations: 181.8 kB / 8.134 MB, free: 2.207 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.326/1.326, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.0008162/0.0008162, allocations: 94.33 kB / 261.7 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.169/0.169, allocations: 37.96 MB / 347.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/7.995e-06, allocations: 4 kB / 410 MB, free: 46.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 56.31 MB / 466.3 MB, free: 6.473 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2975/0.4011, allocations: 93.22 MB / 0.5464 GB, free: 1.352 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.4014, allocations: 83.95 kB / 0.5465 GB, free: 1.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.03179/0.4332, allocations: 12.76 MB / 0.559 GB, free: 4.363 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.4332, allocations: 8 kB / 0.559 GB, free: 4.355 MB / 394.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.0005709/0.4338, allocations: 486.5 kB / 0.5594 GB, free: 3.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.4339, allocations: 8.031 kB / 0.5594 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008675/0.4347, allocations: 91.61 kB / 0.5595 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.4351, allocations: 273.5 kB / 0.5598 GB, free: 3.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.4351, allocations: 7.938 kB / 0.5598 GB, free: 3.422 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.4352, allocations: 16 kB / 0.5598 GB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000314/0.4355, allocations: 200.2 kB / 0.56 GB, free: 3.211 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.4359, allocations: 286.4 kB / 0.5603 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4359, allocations: 0 / 0.5603 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.4359, allocations: 4 kB / 0.5603 GB, free: 2.902 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-05/0.436, allocations: 23.97 kB / 0.5603 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.4375, allocations: 1.244 MB / 0.5615 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.4378, allocations: 145.1 kB / 0.5617 GB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.4378, allocations: 45.77 kB / 0.5617 GB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.4379, allocations: 7.984 kB / 0.5617 GB, free: 1.328 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.4379, allocations: 34.56 kB / 0.5617 GB, free: 1.285 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.4379, allocations: 0 / 0.5617 GB, free: 1.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004621/0.4384, allocations: 234.1 kB / 0.562 GB, free: 1.051 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.4384, allocations: 89.14 kB / 0.5621 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.4386, allocations: 151.6 kB / 0.5622 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.4386, allocations: 25.7 kB / 0.5622 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.4387, allocations: 155.8 kB / 0.5624 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.4387, allocations: 51.3 kB / 0.5624 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.4387, allocations: 3.938 kB / 0.5624 GB, free: 0.543 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.4388, allocations: 322.8 kB / 0.5627 GB, free: 224 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.4389, allocations: 43.98 kB / 0.5628 GB, free: 180 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.439, allocations: 132.9 kB / 0.5629 GB, free: 0 / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.4391, allocations: 72.64 kB / 0.563 GB, free: 15.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4391, allocations: 0 / 0.563 GB, free: 15.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000274/0.4394, allocations: 197.5 kB / 0.5632 GB, free: 15.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4394, allocations: 5.406 kB / 0.5632 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.4395, allocations: 7.938 kB / 0.5632 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4395, allocations: 7.906 kB / 0.5632 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.4397, allocations: 48.34 kB / 0.5632 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4397, allocations: 8 kB / 0.5632 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.4398, allocations: 4 kB / 0.5632 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.4398, allocations: 12 kB / 0.5632 GB, free: 15.64 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 () * 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 7.576e-05/0.4399, allocations: 116.8 kB / 0.5634 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.4399, allocations: 15.81 kB / 0.5634 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.4402, allocations: 135 kB / 0.5635 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4402, allocations: 4 kB / 0.5635 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4402, allocations: 7.906 kB / 0.5635 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4402, allocations: 4 kB / 0.5635 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008221/0.441, allocations: 0.7576 MB / 0.5643 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4411, allocations: 4 kB / 0.5643 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.4412, allocations: 27.92 kB / 0.5643 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.4412, allocations: 7.938 kB / 0.5643 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.4412, allocations: 7.906 kB / 0.5643 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4412, allocations: 4.438 kB / 0.5643 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.4412, allocations: 7.938 kB / 0.5643 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003253/0.4416, allocations: 487.2 kB / 0.5648 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.4416, allocations: 92.92 kB / 0.5649 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.4417, allocations: 4 kB / 0.5649 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.4418, allocations: 11.89 kB / 0.5649 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.4418, allocations: 12 kB / 0.5649 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.4418, allocations: 12 kB / 0.5649 GB, free: 13.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.348e-05/0.4419, allocations: 128.3 kB / 0.565 GB, free: 13.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003676/0.4423, allocations: 44 kB / 0.5651 GB, free: 13.47 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 () * 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.0001221/0.4424, allocations: 111.1 kB / 0.5652 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.4426, allocations: 130.5 kB / 0.5653 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4427, allocations: 0.875 kB / 0.5653 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.55e-05/0.4427, allocations: 56.05 kB / 0.5654 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.443, allocations: 32.06 kB / 0.5654 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.4437, allocations: 350.7 kB / 0.5657 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/0.444, allocations: 0.7821 MB / 0.5665 GB, free: 11.92 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.444, allocations: 0 / 0.5665 GB, free: 11.92 MB / 410.7 MB Notification: Performance of Templates: time 0.003624/0.4476, allocations: 1.329 MB / 0.5678 GB, free: 10.59 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