Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,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.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,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.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008913/0.0008913, allocations: 175.9 kB / 8.348 MB, free: 0.7227 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.541/1.541, 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.0008567/0.0008568, allocations: 84.11 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.1672/0.1672, allocations: 37.99 MB / 348 MB, free: 7.773 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.056e-05/2.049e-05, allocations: 4 kB / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1717, allocations: 56.33 MB / 466.9 MB, free: 6.566 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5672/0.739, allocations: 93.29 MB / 0.5471 GB, free: 1.652 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.7393, allocations: 83.95 kB / 0.5471 GB, free: 1.57 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08071/0.8201, allocations: 17.82 MB / 0.5645 GB, free: 15.55 MB / 411.1 MB Notification: Performance of FrontEnd: time 7.053e-06/0.8201, allocations: 7.984 kB / 0.5645 GB, free: 15.54 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.8202, allocations: 4 kB / 0.5645 GB, free: 15.54 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00129/0.8215, allocations: 0.5432 MB / 0.5651 GB, free: 14.95 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.8216, allocations: 8.031 kB / 0.5651 GB, free: 14.94 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.8239, allocations: 147.4 kB / 0.5652 GB, free: 14.79 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007564/0.8246, allocations: 289.6 kB / 0.5655 GB, free: 14.47 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.8247, allocations: 12 kB / 0.5655 GB, free: 14.46 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/0.8248, allocations: 16 kB / 0.5655 GB, free: 14.44 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008437/0.8257, allocations: 293.2 kB / 0.5658 GB, free: 14.16 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009873/0.8267, allocations: 391.4 kB / 0.5662 GB, free: 13.75 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.8267, allocations: 3.984 kB / 0.5662 GB, free: 13.75 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.8268, allocations: 0 / 0.5662 GB, free: 13.75 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002182/0.827, allocations: 44.52 kB / 0.5662 GB, free: 13.7 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/0.8308, allocations: 1.651 MB / 0.5678 GB, free: 11.93 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.8314, allocations: 274.6 kB / 0.5681 GB, free: 11.62 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.8317, allocations: 130.2 kB / 0.5682 GB, free: 11.49 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-05/0.8318, allocations: 4.188 kB / 0.5682 GB, free: 11.49 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.8318, allocations: 42.69 kB / 0.5683 GB, free: 11.44 MB / 411.1 MB Notification: Performance of pre-optimization done (n=22): time 3.917e-06/0.8319, allocations: 0 / 0.5683 GB, free: 11.44 MB / 411.1 MB Notification: Performance of matching and sorting (n=23): time 0.001798/0.8337, allocations: 0.4995 MB / 0.5688 GB, free: 10.93 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.8338, allocations: 77.11 kB / 0.5688 GB, free: 10.84 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.8341, allocations: 172.1 kB / 0.569 GB, free: 10.66 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.8341, allocations: 25.7 kB / 0.569 GB, free: 10.62 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.8344, allocations: 191.7 kB / 0.5692 GB, free: 10.43 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.8345, allocations: 74.84 kB / 0.5693 GB, free: 10.36 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.8346, allocations: 0 / 0.5693 GB, free: 10.36 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.8348, allocations: 338.7 kB / 0.5696 GB, free: 10.02 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.8351, allocations: 100.5 kB / 0.5697 GB, free: 9.918 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.8355, allocations: 184.8 kB / 0.5699 GB, free: 9.695 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.8358, allocations: 129 kB / 0.57 GB, free: 9.57 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.8358, allocations: 4 kB / 0.57 GB, free: 9.566 MB / 411.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00117/0.837, allocations: 386.6 kB / 0.5704 GB, free: 9.18 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.8371, allocations: 8 kB / 0.5704 GB, free: 9.172 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.8371, allocations: 4 kB / 0.5704 GB, free: 9.168 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005403/0.8376, allocations: 80.8 kB / 0.5705 GB, free: 9.086 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.8381, allocations: 64.17 kB / 0.5705 GB, free: 9.023 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.8411, allocations: 1.736 MB / 0.5722 GB, free: 7.172 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.8414, allocations: 15.89 kB / 0.5722 GB, free: 7.156 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.8415, allocations: 8 kB / 0.5722 GB, free: 7.148 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.8417, allocations: 120.8 kB / 0.5723 GB, free: 7.023 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.915e-05/0.8418, allocations: 23.8 kB / 0.5724 GB, free: 7 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.8429, allocations: 360.1 kB / 0.5727 GB, free: 6.641 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.8429, allocations: 0 / 0.5727 GB, free: 6.641 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.843, allocations: 4.188 kB / 0.5727 GB, free: 6.637 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.843, allocations: 0 / 0.5727 GB, free: 6.637 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.8451, allocations: 0.8409 MB / 0.5735 GB, free: 5.73 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.8451, allocations: 0 / 0.5735 GB, free: 5.73 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.8453, allocations: 35.98 kB / 0.5736 GB, free: 5.695 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003862/0.8457, allocations: 72.8 kB / 0.5736 GB, free: 5.621 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.8458, allocations: 7.953 kB / 0.5737 GB, free: 5.613 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/0.8481, allocations: 1.642 MB / 0.5753 GB, free: 3.852 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.419e-05/0.8481, allocations: 8.016 kB / 0.5753 GB, free: 3.844 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.8491, allocations: 483.6 kB / 0.5757 GB, free: 3.324 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.8493, allocations: 100.9 kB / 0.5758 GB, free: 3.207 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.8493, allocations: 0 / 0.5758 GB, free: 3.207 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.8496, allocations: 7.984 kB / 0.5758 GB, free: 3.199 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.8497, allocations: 15.98 kB / 0.5758 GB, free: 3.184 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.8497, allocations: 8.125 kB / 0.5758 GB, free: 3.176 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.8499, allocations: 132.5 kB / 0.576 GB, free: 3.047 MB / 411.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.85, allocations: 4 kB / 0.576 GB, free: 3.043 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0009322/0.8509, allocations: 76 kB / 0.5761 GB, free: 2.969 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002182/0.8511, allocations: 119.1 kB / 0.5762 GB, free: 2.844 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.8523, allocations: 385.4 kB / 0.5765 GB, free: 2.457 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8523, allocations: 4.812 kB / 0.5765 GB, free: 2.453 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006144/0.8529, allocations: 273.6 kB / 0.5768 GB, free: 2.176 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.8534, allocations: 35.89 kB / 0.5768 GB, free: 2.141 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.8546, allocations: 414.7 kB / 0.5772 GB, free: 1.703 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.8552, allocations: 0.8113 MB / 0.578 GB, free: 0.8672 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.000275/0.8555, allocations: 54.03 kB / 0.5781 GB, free: 0.8125 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.215e-05/0.8556, allocations: 19.44 kB / 0.5781 GB, free: 0.793 MB / 411.1 MB Notification: Performance of SimCode: time 6.52e-07/0.8556, allocations: 0 / 0.5781 GB, free: 0.793 MB / 411.1 MB Notification: Performance of Templates: time 0.01046/0.8661, allocations: 2.589 MB / 0.5806 GB, free: 14.21 MB / 427.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches