Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 73.64 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 161.7 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1757/0.1757, allocations: 29.43 MB / 290.7 MB, free: 3.285 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003209/0.003209, allocations: 63.91 kB / 431.2 MB, free: 3.227 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4351, allocations: 62.44 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.00378/0.4389, allocations: 3.451 MB / 497.1 MB, free: 35.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.4404, allocations: 1.424 MB / 498.5 MB, free: 34.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.4405, allocations: 7.25 kB / 498.5 MB, free: 34.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007068/0.4412, allocations: 252.4 kB / 498.8 MB, free: 34.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.4417, allocations: 279 kB / 499 MB, free: 34.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.442, allocations: 129.8 kB / 499.2 MB, free: 34.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.4423, allocations: 343.4 kB / 499.5 MB, free: 33.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.4426, allocations: 122.5 kB / 499.6 MB, free: 33.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.4428, allocations: 163.4 kB / 499.8 MB, free: 33.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.443, allocations: 169 kB / 499.9 MB, free: 33.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.4431, allocations: 12.53 kB / 499.9 MB, free: 33.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.4434, allocations: 273.8 kB / 0.4885 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.745e-05/0.4435, allocations: 103 kB / 0.4886 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.542e-05/0.4436, allocations: 91.44 kB / 0.4887 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.444, allocations: 360.4 kB / 0.489 GB, free: 33.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.444, allocations: 0 / 0.489 GB, free: 33.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.444, allocations: 3.938 kB / 0.489 GB, free: 33.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.444, allocations: 0 / 0.489 GB, free: 33.48 MB / 446.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.0005671/0.4446, allocations: 459.2 kB / 0.4895 GB, free: 33.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.4446, allocations: 17.12 kB / 0.4895 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008395/0.4454, allocations: 92.98 kB / 0.4896 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.4457, allocations: 211.1 kB / 0.4898 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.4457, allocations: 10.84 kB / 0.4898 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.992e-05/0.4458, allocations: 16.62 kB / 0.4898 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.4461, allocations: 334.9 kB / 0.4901 GB, free: 32.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.4462, allocations: 3.188 kB / 0.4901 GB, free: 32.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.4462, allocations: 4 kB / 0.4901 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/0.4462, allocations: 23.41 kB / 0.4901 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.4465, allocations: 286.1 kB / 0.4904 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.4478, allocations: 1.149 MB / 0.4915 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.4482, allocations: 223.1 kB / 0.4918 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.4483, allocations: 93.55 kB / 0.4918 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.4483, allocations: 7.406 kB / 0.4918 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.4484, allocations: 33.78 kB / 0.4919 GB, free: 31.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.4484, allocations: 0 / 0.4919 GB, free: 31.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006875/0.4491, allocations: 443.2 kB / 0.4923 GB, free: 31.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.4491, allocations: 84.14 kB / 0.4924 GB, free: 31.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.4492, allocations: 196.1 kB / 0.4926 GB, free: 31.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.4492, allocations: 32.73 kB / 0.4926 GB, free: 31.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.4493, allocations: 159.5 kB / 0.4928 GB, free: 30.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.4493, allocations: 68.19 kB / 0.4928 GB, free: 30.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.4494, allocations: 55.81 kB / 0.4929 GB, free: 30.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.076e-05/0.4494, allocations: 325.4 kB / 0.4932 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.4495, allocations: 91.28 kB / 0.4933 GB, free: 30.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.4496, allocations: 156.5 kB / 0.4934 GB, free: 30.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.4499, allocations: 262.8 kB / 0.4937 GB, free: 30.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4499, allocations: 0 / 0.4937 GB, free: 30.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000335/0.4502, allocations: 292.2 kB / 0.4939 GB, free: 30.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.4502, allocations: 6.219 kB / 0.494 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4502, allocations: 7.312 kB / 0.494 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4503, allocations: 7.312 kB / 0.494 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.4505, allocations: 54.45 kB / 0.494 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4505, allocations: 7.125 kB / 0.494 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.4506, allocations: 13.86 kB / 0.494 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.4506, allocations: 12.94 kB / 0.4941 GB, free: 30.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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.315e-05/0.4507, allocations: 154.8 kB / 0.4942 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.4508, allocations: 17.31 kB / 0.4942 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.4511, allocations: 231.1 kB / 0.4944 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4511, allocations: 3.938 kB / 0.4944 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4511, allocations: 7.031 kB / 0.4944 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4511, allocations: 0 / 0.4944 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009659/0.452, allocations: 0.8618 MB / 0.4953 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.452, allocations: 3.062 kB / 0.4953 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.4522, allocations: 40.75 kB / 0.4953 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.4522, allocations: 6.562 kB / 0.4953 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.4522, allocations: 6.312 kB / 0.4953 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4522, allocations: 7.219 kB / 0.4953 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.4522, allocations: 6.594 kB / 0.4954 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.4525, allocations: 409.5 kB / 0.4957 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.4525, allocations: 25.5 kB / 0.4958 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.4525, allocations: 9.266 kB / 0.4958 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.4527, allocations: 13.81 kB / 0.4958 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.4527, allocations: 30.25 kB / 0.4958 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.4527, allocations: 12.72 kB / 0.4958 GB, free: 28.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.992e-05/0.4528, allocations: 147.4 kB / 0.496 GB, free: 28.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4528, allocations: 0 / 0.496 GB, free: 28.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003457/0.4532, allocations: 50.5 kB / 0.496 GB, free: 28.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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 8.233e-05/0.4532, allocations: 99.84 kB / 0.4961 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.4535, allocations: 228.1 kB / 0.4963 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4535, allocations: 0 / 0.4963 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.4536, allocations: 98.17 kB / 0.4964 GB, free: 28.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.4541, allocations: 35.67 kB / 0.4965 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006925/0.4548, allocations: 0.5704 MB / 0.497 GB, free: 28.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.4549, allocations: 149.2 kB / 0.4972 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.455, allocations: 58.48 kB / 0.4972 GB, free: 28.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.4551, allocations: 21.03 kB / 0.4972 GB, free: 28.07 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4551, allocations: 0 / 0.4972 GB, free: 28.07 MB / 446.1 MB Notification: Performance of Templates: time 0.00436/0.4594, allocations: 1.827 MB / 0.499 GB, free: 27.82 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.141930466052145]