Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 177.9 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 225.7 MB / 243.2 MB, free: 10.19 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007919/0.0007917, allocations: 98.91 kB / 294.4 MB, free: 9.742 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2712/0.2712, allocations: 38.17 MB / 383.6 MB, free: 40.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002714, allocations: 8 kB / 453.6 MB, free: 8.84 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2635, allocations: 59.15 MB / 0.5007 GB, free: 38.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003076/0.2666, allocations: 3.28 MB / 0.5039 GB, free: 38.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.2685, allocations: 2.572 MB / 0.5064 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.2687, allocations: 11.44 kB / 0.5064 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.2688, allocations: 30.42 kB / 0.5064 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005322/0.2693, allocations: 256.8 kB / 0.5067 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.2696, allocations: 101.4 kB / 0.5068 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005183/0.2701, allocations: 0.5648 MB / 0.5073 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005472/0.2706, allocations: 484.4 kB / 0.5078 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.2708, allocations: 126.5 kB / 0.5079 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.271, allocations: 148.9 kB / 0.5081 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.2711, allocations: 7.062 kB / 0.5081 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005039/0.2716, allocations: 361.3 kB / 0.5084 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.2717, allocations: 93.41 kB / 0.5085 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.986e-05/0.2718, allocations: 122.6 kB / 0.5086 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.2722, allocations: 357.8 kB / 0.509 GB, free: 35.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2722, allocations: 0.7812 kB / 0.509 GB, free: 35.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2722, allocations: 0 / 0.509 GB, free: 35.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2722, allocations: 3.344 kB / 0.509 GB, free: 35.87 MB / 378.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.0004797/0.2727, allocations: 477.6 kB / 0.5094 GB, free: 35.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2728, allocations: 9.125 kB / 0.5094 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007222/0.2735, allocations: 92.97 kB / 0.5095 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.2737, allocations: 258 kB / 0.5098 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.2738, allocations: 17.22 kB / 0.5098 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.2738, allocations: 19.41 kB / 0.5098 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.2743, allocations: 315.2 kB / 0.5101 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2743, allocations: 1.797 kB / 0.5101 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.2743, allocations: 6.125 kB / 0.5101 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.2743, allocations: 19.03 kB / 0.5101 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.2747, allocations: 284.8 kB / 0.5104 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.276, allocations: 1.301 MB / 0.5117 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.2763, allocations: 237 kB / 0.5119 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.933e-05/0.2764, allocations: 60.12 kB / 0.5119 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.2764, allocations: 4.75 kB / 0.512 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.2764, allocations: 34.12 kB / 0.512 GB, free: 33.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.2764, allocations: 0 / 0.512 GB, free: 33.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004715/0.2769, allocations: 279.4 kB / 0.5123 GB, free: 33.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.2769, allocations: 87.53 kB / 0.5123 GB, free: 33.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.2771, allocations: 192.3 kB / 0.5125 GB, free: 33.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.2771, allocations: 30.78 kB / 0.5125 GB, free: 33.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.2772, allocations: 161.2 kB / 0.5127 GB, free: 33.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.2772, allocations: 45.61 kB / 0.5127 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.2772, allocations: 6.75 kB / 0.5128 GB, free: 33.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.373e-05/0.2773, allocations: 326.9 kB / 0.5131 GB, free: 32.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.2773, allocations: 52.41 kB / 0.5131 GB, free: 32.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.785e-05/0.2774, allocations: 140.7 kB / 0.5132 GB, free: 32.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.2776, allocations: 221.4 kB / 0.5135 GB, free: 32.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2777, allocations: 1.062 kB / 0.5135 GB, free: 32.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002629/0.2779, allocations: 228.4 kB / 0.5137 GB, free: 32.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2779, allocations: 6.219 kB / 0.5137 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.278, allocations: 3.125 kB / 0.5137 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.278, allocations: 5.438 kB / 0.5137 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.2781, allocations: 49.55 kB / 0.5137 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2781, allocations: 8.406 kB / 0.5137 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.892e-05/0.2782, allocations: 9.375 kB / 0.5138 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.2783, allocations: 16.06 kB / 0.5138 GB, free: 32.29 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.259e-05/0.2784, allocations: 160.8 kB / 0.5139 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.2784, allocations: 16.97 kB / 0.5139 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.2786, allocations: 151.5 kB / 0.5141 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2786, allocations: 2.562 kB / 0.5141 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2786, allocations: 0 / 0.5141 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2786, allocations: 0 / 0.5141 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.2792, allocations: 0.6671 MB / 0.5147 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.2793, allocations: 6.625 kB / 0.5147 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.061e-05/0.2793, allocations: 29.3 kB / 0.5148 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2794, allocations: 5.438 kB / 0.5148 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.2794, allocations: 13.05 kB / 0.5148 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.2794, allocations: 6.906 kB / 0.5148 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.2794, allocations: 9.328 kB / 0.5148 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.2796, allocations: 337.1 kB / 0.5151 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.2796, allocations: 97.64 kB / 0.5152 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.2797, allocations: 12.86 kB / 0.5152 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.2798, allocations: 5.781 kB / 0.5152 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.2798, allocations: 25.03 kB / 0.5153 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.2799, allocations: 8.75 kB / 0.5153 GB, free: 31.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.292e-05/0.2799, allocations: 143.4 kB / 0.5154 GB, free: 30.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2799, allocations: 0 / 0.5154 GB, free: 30.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003109/0.2802, allocations: 48.22 kB / 0.5155 GB, free: 30.98 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.815e-05/0.2803, allocations: 111.6 kB / 0.5156 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.2805, allocations: 138.2 kB / 0.5157 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2805, allocations: 0 / 0.5157 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.276e-05/0.2806, allocations: 67.33 kB / 0.5158 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.281, allocations: 36.52 kB / 0.5158 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.2816, allocations: 0.5936 MB / 0.5164 GB, free: 30.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.2817, allocations: 0.7594 MB / 0.5171 GB, free: 29.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.2819, allocations: 48.3 kB / 0.5172 GB, free: 29.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.2819, allocations: 18.25 kB / 0.5172 GB, free: 29.64 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.2819, allocations: 3.938 kB / 0.5172 GB, free: 29.64 MB / 378.7 MB Notification: Performance of Templates: time 0.003131/0.2851, allocations: 1.254 MB / 0.5184 GB, free: 29.51 MB / 378.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