Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.001918/0.001918, allocations: 73.02 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.001777/0.001777, allocations: 159.6 kB / 24.5 MB, free: 3.715 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.463/1.463, allocations: 177.2 MB / 204.9 MB, free: 9.02 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.2011/0.2011, allocations: 29.43 MB / 290.7 MB, free: 3.266 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.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") [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.00216/0.00216, allocations: 66.72 kB / 431.2 MB, free: 3.23 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3581, allocations: 62.45 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006441/0.3646, allocations: 5.826 MB / 499.5 MB, free: 33.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.3676, allocations: 1.88 MB / 0.4896 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/0.3679, allocations: 32.41 kB / 0.4896 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.3696, allocations: 0.6828 MB / 0.4903 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007476/0.3704, allocations: 381.1 kB / 0.4907 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009287/0.3713, allocations: 409.9 kB / 0.491 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006941/0.372, allocations: 0.9402 MB / 0.492 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.3724, allocations: 393.7 kB / 0.4923 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/0.3729, allocations: 451.5 kB / 0.4928 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005688/0.3735, allocations: 0.5427 MB / 0.4933 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.914e-05/0.3736, allocations: 58.66 kB / 0.4934 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.374, allocations: 244.6 kB / 0.4936 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.3742, allocations: 422.2 kB / 0.494 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000335/0.3746, allocations: 357.2 kB / 0.4943 GB, free: 30.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007977/0.3754, allocations: 1.04 MB / 0.4953 GB, free: 30.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3754, allocations: 3.281 kB / 0.4953 GB, free: 30.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3754, allocations: 4 kB / 0.4954 GB, free: 30.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3754, allocations: 0 / 0.4954 GB, free: 30.08 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001464/0.3769, allocations: 1.013 MB / 0.4963 GB, free: 29.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3769, allocations: 13.2 kB / 0.4964 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009915/0.3779, allocations: 214 kB / 0.4966 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009269/0.3788, allocations: 485.1 kB / 0.497 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.51e-05/0.3789, allocations: 61.42 kB / 0.4971 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.379, allocations: 77.81 kB / 0.4972 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.3802, allocations: 1.128 MB / 0.4983 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.3802, allocations: 11.25 kB / 0.4983 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.479e-05/0.3803, allocations: 33.5 kB / 0.4983 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.407e-05/0.3803, allocations: 54.12 kB / 0.4983 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.3814, allocations: 0.8587 MB / 0.4992 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/0.3851, allocations: 4.711 MB / 0.5038 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005507/0.3856, allocations: 400.2 kB / 0.5042 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.3858, allocations: 200.1 kB / 0.5044 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.3859, allocations: 5.281 kB / 0.5044 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3859, allocations: 40.78 kB / 0.5044 GB, free: 24.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=43): time 2.204e-06/0.3859, allocations: 4 kB / 0.5044 GB, free: 24.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.001493/0.3874, allocations: 1.077 MB / 0.5055 GB, free: 23.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.3874, allocations: 87.17 kB / 0.5055 GB, free: 23.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.3878, allocations: 495 kB / 0.506 GB, free: 23.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.3878, allocations: 32.73 kB / 0.506 GB, free: 23.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.388, allocations: 470.4 kB / 0.5065 GB, free: 22.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.565e-05/0.3881, allocations: 167.1 kB / 0.5067 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.3882, allocations: 152.9 kB / 0.5068 GB, free: 22.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.3883, allocations: 368.7 kB / 0.5072 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.3886, allocations: 240.9 kB / 0.5074 GB, free: 22.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.389, allocations: 0.6194 MB / 0.508 GB, free: 21.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007887/0.3898, allocations: 0.9434 MB / 0.5089 GB, free: 20.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3898, allocations: 3.031 kB / 0.5089 GB, free: 20.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001057/0.3909, allocations: 0.9007 MB / 0.5098 GB, free: 20.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3909, allocations: 8.938 kB / 0.5098 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.3909, allocations: 15.12 kB / 0.5098 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.3909, allocations: 17.84 kB / 0.5098 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/0.3916, allocations: 217.2 kB / 0.51 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/0.3916, allocations: 26.23 kB / 0.5101 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.392, allocations: 61.98 kB / 0.5101 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.3921, allocations: 37.62 kB / 0.5102 GB, free: 20.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * 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 0.0002827/0.3924, allocations: 309.4 kB / 0.5105 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.3924, allocations: 50.05 kB / 0.5105 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007432/0.3932, allocations: 0.5565 MB / 0.511 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3932, allocations: 6.281 kB / 0.5111 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3932, allocations: 0 / 0.5111 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3932, allocations: 3.469 kB / 0.5111 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.3949, allocations: 1.158 MB / 0.5122 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3949, allocations: 2.5 kB / 0.5122 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.3953, allocations: 113.6 kB / 0.5123 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.3953, allocations: 3.625 kB / 0.5123 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.3953, allocations: 13.22 kB / 0.5123 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3954, allocations: 13.12 kB / 0.5123 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3954, allocations: 6.047 kB / 0.5123 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006795/0.396, allocations: 0.6487 MB / 0.513 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.3961, allocations: 56.39 kB / 0.513 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.3962, allocations: 8.406 kB / 0.513 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.3964, allocations: 32.27 kB / 0.5131 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.3965, allocations: 39.67 kB / 0.5131 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.3965, allocations: 24.06 kB / 0.5131 GB, free: 18.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002819/0.3968, allocations: 305.8 kB / 0.5134 GB, free: 18.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3968, allocations: 0 / 0.5134 GB, free: 18.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007265/0.3975, allocations: 164.8 kB / 0.5136 GB, free: 18.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (51): * Single equations (assignments): 50 * 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 0.0001076/0.3976, allocations: 109 kB / 0.5137 GB, free: 18.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009069/0.3985, allocations: 0.5822 MB / 0.5142 GB, free: 18.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3985, allocations: 0 / 0.5142 GB, free: 18.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.3989, allocations: 220.3 kB / 0.5144 GB, free: 18.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007045/0.3996, allocations: 127.5 kB / 0.5146 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.4019, allocations: 1.379 MB / 0.5159 GB, free: 17.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.4023, allocations: 401.1 kB / 0.5163 GB, free: 17.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005269/0.4029, allocations: 227 kB / 0.5165 GB, free: 17.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.403, allocations: 49.66 kB / 0.5166 GB, free: 17.49 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.403, allocations: 1.406 kB / 0.5166 GB, free: 17.49 MB / 446.1 MB Notification: Performance of Templates: time 0.01208/0.4151, allocations: 5.428 MB / 0.5219 GB, free: 16.85 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.139474627911113]