Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001455/0.001455, allocations: 69.72 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.001753/0.001753, allocations: 162.5 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.52/1.52, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.1863/0.1863, allocations: 29.43 MB / 290.7 MB, free: 3.262 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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [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.002133/0.002133, allocations: 67.89 kB / 431.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4239, allocations: 62.44 MB / 493.6 MB, free: 38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005193/0.4291, allocations: 4.757 MB / 498.4 MB, free: 34.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.4312, allocations: 1.248 MB / 499.7 MB, free: 33.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.4314, allocations: 21.38 kB / 499.7 MB, free: 33.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.4319, allocations: 122.5 kB / 499.8 MB, free: 33.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006932/0.4326, allocations: 334.7 kB / 0.4884 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.4329, allocations: 151.6 kB / 0.4885 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005569/0.4335, allocations: 0.7114 MB / 0.4892 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.4337, allocations: 106.2 kB / 0.4893 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000387/0.4341, allocations: 327.9 kB / 0.4896 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005194/0.4346, allocations: 448 kB / 0.4901 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.827e-05/0.4347, allocations: 47.72 kB / 0.4901 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.755e-05/0.4348, allocations: 45.09 kB / 0.4902 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.435, allocations: 250.2 kB / 0.4904 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.4352, allocations: 236.2 kB / 0.4906 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005206/0.4357, allocations: 0.6144 MB / 0.4912 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4357, allocations: 4 kB / 0.4912 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4357, allocations: 0 / 0.4912 GB, free: 32.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.4357, allocations: 0 / 0.4912 GB, free: 32.61 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001809/0.4376, allocations: 0.8828 MB / 0.4921 GB, free: 32.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.4376, allocations: 13.02 kB / 0.4921 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.4377, allocations: 61.53 kB / 0.4922 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009755/0.4387, allocations: 0.5469 MB / 0.4927 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.4387, allocations: 24.56 kB / 0.4927 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/0.4388, allocations: 44.06 kB / 0.4928 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.4394, allocations: 0.5523 MB / 0.4933 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.4394, allocations: 7.875 kB / 0.4933 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.4395, allocations: 11.5 kB / 0.4933 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002932/0.4398, allocations: 86.98 kB / 0.4934 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.4402, allocations: 353.4 kB / 0.4937 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/0.4427, allocations: 1.878 MB / 0.4956 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007697/0.4434, allocations: 370.3 kB / 0.4959 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.4439, allocations: 281.5 kB / 0.4962 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.4439, allocations: 3 kB / 0.4962 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.4439, allocations: 49.31 kB / 0.4962 GB, free: 29.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.444e-06/0.4439, allocations: 0 / 0.4962 GB, free: 29.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.003982/0.4479, allocations: 1.937 MB / 0.4981 GB, free: 29.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.448, allocations: 91.44 kB / 0.4982 GB, free: 29.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.4483, allocations: 376.7 kB / 0.4986 GB, free: 28.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.4484, allocations: 29.7 kB / 0.4986 GB, free: 28.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.4485, allocations: 259 kB / 0.4989 GB, free: 28.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.278e-05/0.4486, allocations: 140.3 kB / 0.499 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.4487, allocations: 100.7 kB / 0.4991 GB, free: 28.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.4488, allocations: 361.4 kB / 0.4994 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.4491, allocations: 240.1 kB / 0.4997 GB, free: 28.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.4495, allocations: 364.1 kB / 0.5 GB, free: 27.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007007/0.4502, allocations: 0.6225 MB / 0.5006 GB, free: 27.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4502, allocations: 0 / 0.5006 GB, free: 27.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001463/0.4516, allocations: 1.001 MB / 0.5016 GB, free: 27.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4517, allocations: 8.656 kB / 0.5016 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4517, allocations: 6.969 kB / 0.5016 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009009/0.4526, allocations: 417 kB / 0.502 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.4528, allocations: 81.81 kB / 0.5021 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004035/0.4569, allocations: 4.845 MB / 0.5068 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.4573, allocations: 45.7 kB / 0.5069 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.4573, allocations: 23 kB / 0.5069 GB, free: 23.9 MB / 446.1 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002623/0.4576, allocations: 206.3 kB / 0.5071 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.4576, allocations: 37.64 kB / 0.5071 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.4588, allocations: 0.8351 MB / 0.5079 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4588, allocations: 2.812 kB / 0.5079 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4588, allocations: 3.094 kB / 0.5079 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4589, allocations: 3.516 kB / 0.5079 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.4607, allocations: 1.299 MB / 0.5092 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.4607, allocations: 0 / 0.5092 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.4609, allocations: 35.62 kB / 0.5092 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.4619, allocations: 444 kB / 0.5097 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/0.462, allocations: 36.69 kB / 0.5097 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004254/0.4662, allocations: 6.2 MB / 0.5158 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4662, allocations: 3.938 kB / 0.5158 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.4679, allocations: 1.111 MB / 0.5168 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.468, allocations: 39.47 kB / 0.5169 GB, free: 16.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.14e-05/0.4681, allocations: 28.73 kB / 0.5169 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.4684, allocations: 41.19 kB / 0.517 GB, free: 16.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/0.4685, allocations: 42.84 kB / 0.517 GB, free: 16.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.4685, allocations: 11.77 kB / 0.517 GB, free: 16.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002811/0.4688, allocations: 255.7 kB / 0.5172 GB, free: 16.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4688, allocations: 0 / 0.5172 GB, free: 16.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008443/0.4697, allocations: 157.8 kB / 0.5174 GB, free: 16.78 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001718/0.4698, allocations: 117.2 kB / 0.5175 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.4717, allocations: 0.8683 MB / 0.5184 GB, free: 16.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4717, allocations: 1.5 kB / 0.5184 GB, free: 16.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.473, allocations: 0.8534 MB / 0.5192 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.4736, allocations: 136 kB / 0.5193 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.4762, allocations: 1.835 MB / 0.5211 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4766, allocations: 277.9 kB / 0.5214 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.4768, allocations: 75.8 kB / 0.5215 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/0.4769, allocations: 33.66 kB / 0.5215 GB, free: 14.42 MB / 446.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4769, allocations: 0 / 0.5215 GB, free: 14.42 MB / 446.1 MB Notification: Performance of Templates: time 0.01636/0.4933, allocations: 8.002 MB / 0.5293 GB, free: 13.58 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.492854311945848]