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") [: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.001067/0.001067, allocations: 188 kB / 8.137 MB, free: 2.215 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.294/1.294, allocations: 205.2 MB / 213.7 MB, free: 13.84 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.001024/0.001024, allocations: 99.94 kB / 261.7 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1629/0.1629, allocations: 37.97 MB / 347.7 MB, free: 7.516 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/8.095e-06, allocations: 0 / 410 MB, free: 46.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.09706, allocations: 56.31 MB / 466.3 MB, free: 6.473 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2852/0.3823, allocations: 93.28 MB / 0.5465 GB, free: 1.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.3825, allocations: 79.95 kB / 0.5466 GB, free: 1.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.0431/0.4257, allocations: 17.48 MB / 0.5636 GB, free: 15.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.4257, allocations: 8 kB / 0.5636 GB, free: 15.48 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007606/0.4265, allocations: 0.5473 MB / 0.5642 GB, free: 14.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4265, allocations: 8.031 kB / 0.5642 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.4278, allocations: 143.3 kB / 0.5643 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.4283, allocations: 289.3 kB / 0.5646 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.4283, allocations: 8 kB / 0.5646 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.4284, allocations: 16 kB / 0.5646 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000515/0.4289, allocations: 305.2 kB / 0.5649 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.4295, allocations: 406.8 kB / 0.5653 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.4295, allocations: 0 / 0.5653 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.4296, allocations: 0 / 0.5653 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.4297, allocations: 36.62 kB / 0.5653 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.4318, allocations: 1.678 MB / 0.567 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.4321, allocations: 189.5 kB / 0.5672 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.4323, allocations: 126.1 kB / 0.5673 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.4323, allocations: 8.188 kB / 0.5673 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.4324, allocations: 34.69 kB / 0.5673 GB, free: 11.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.4324, allocations: 0 / 0.5673 GB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001048/0.4334, allocations: 0.5214 MB / 0.5678 GB, free: 10.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.4335, allocations: 85.05 kB / 0.5679 GB, free: 10.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.4336, allocations: 175 kB / 0.5681 GB, free: 10.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.4337, allocations: 25.7 kB / 0.5681 GB, free: 10.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/0.4338, allocations: 167.8 kB / 0.5683 GB, free: 10.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/0.4338, allocations: 78.84 kB / 0.5683 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.4339, allocations: 0 / 0.5683 GB, free: 10.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.434, allocations: 334.8 kB / 0.5687 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.4341, allocations: 108.5 kB / 0.5688 GB, free: 9.926 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.4344, allocations: 188.8 kB / 0.5689 GB, free: 9.699 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.4345, allocations: 141.2 kB / 0.5691 GB, free: 9.562 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.4346, allocations: 0 / 0.5691 GB, free: 9.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006842/0.4352, allocations: 394.5 kB / 0.5694 GB, free: 9.168 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4353, allocations: 9.031 kB / 0.5695 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4353, allocations: 4 kB / 0.5695 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003506/0.4356, allocations: 88.78 kB / 0.5695 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.4359, allocations: 55.91 kB / 0.5696 GB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.4376, allocations: 1.696 MB / 0.5713 GB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.4378, allocations: 11.89 kB / 0.5713 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.4379, allocations: 16.06 kB / 0.5713 GB, free: 7.176 MB / 410.7 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.0001062/0.438, allocations: 108.9 kB / 0.5714 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.438, allocations: 19.72 kB / 0.5714 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007054/0.4388, allocations: 372 kB / 0.5718 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.4388, allocations: 11.84 kB / 0.5718 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4388, allocations: 0 / 0.5718 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4388, allocations: 4 kB / 0.5718 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.4402, allocations: 0.8582 MB / 0.5726 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4402, allocations: 4 kB / 0.5726 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.4404, allocations: 35.97 kB / 0.5727 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002934/0.4407, allocations: 64.8 kB / 0.5727 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.4407, allocations: 4.188 kB / 0.5727 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.4423, allocations: 1.614 MB / 0.5743 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4423, allocations: 4 kB / 0.5743 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006532/0.443, allocations: 491.6 kB / 0.5748 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.4431, allocations: 104.8 kB / 0.5749 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.4431, allocations: 4 kB / 0.5749 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.4433, allocations: 4 kB / 0.5749 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.4433, allocations: 15.97 kB / 0.5749 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.4433, allocations: 8 kB / 0.5749 GB, free: 3.207 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.478e-05/0.4434, allocations: 133.5 kB / 0.575 GB, free: 3.078 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004648/0.4439, allocations: 76 kB / 0.5751 GB, free: 3.004 MB / 410.7 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.000125/0.444, allocations: 111.2 kB / 0.5752 GB, free: 2.887 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006507/0.4447, allocations: 397.5 kB / 0.5756 GB, free: 2.488 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4447, allocations: 0 / 0.5756 GB, free: 2.488 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.4451, allocations: 262.5 kB / 0.5758 GB, free: 2.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.4454, allocations: 31.84 kB / 0.5759 GB, free: 2.191 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008224/0.4462, allocations: 443.8 kB / 0.5763 GB, free: 1.727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/0.4467, allocations: 0.8218 MB / 0.5771 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4467, allocations: 4 kB / 0.5771 GB, free: 0.875 MB / 410.7 MB Notification: Performance of Templates: time 0.005814/0.4525, allocations: 2.886 MB / 0.5799 GB, free: 13.99 MB / 426.7 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