Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.001331/0.001331, 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.001446/0.001446, 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.492/1.492, allocations: 177.2 MB / 204.9 MB, free: 9.016 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.2048/0.2048, allocations: 29.43 MB / 290.7 MB, free: 3.27 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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") [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.002109/0.002109, allocations: 66.88 kB / 431.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4015, allocations: 62.43 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005844/0.4074, allocations: 4.422 MB / 498.1 MB, free: 34.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.41, allocations: 1.348 MB / 499.4 MB, free: 33.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.4102, allocations: 22.22 kB / 499.4 MB, free: 33.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008702/0.4111, allocations: 297.2 kB / 499.7 MB, free: 33.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005286/0.4116, allocations: 277.9 kB / 500 MB, free: 33.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.4122, allocations: 262.8 kB / 0.4885 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005523/0.4128, allocations: 0.6622 MB / 0.4892 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.4131, allocations: 207.7 kB / 0.4894 GB, free: 33.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.4134, allocations: 319.2 kB / 0.4897 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.4139, allocations: 426.6 kB / 0.4901 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.132e-05/0.414, allocations: 49.94 kB / 0.4901 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.4143, allocations: 220.7 kB / 0.4903 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.4145, allocations: 251 kB / 0.4906 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.4148, allocations: 244.8 kB / 0.4908 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007814/0.4156, allocations: 0.7607 MB / 0.4916 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4156, allocations: 0 / 0.4916 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4156, allocations: 0 / 0.4916 GB, free: 32.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.4156, allocations: 0 / 0.4916 GB, free: 32.27 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001635/0.4172, allocations: 0.8303 MB / 0.4924 GB, free: 31.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.4173, allocations: 12.73 kB / 0.4924 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007823/0.418, allocations: 129.2 kB / 0.4925 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/0.4187, allocations: 377.5 kB / 0.4929 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.4188, allocations: 33.23 kB / 0.4929 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.525e-05/0.4188, allocations: 44.41 kB / 0.4929 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.42, allocations: 0.9308 MB / 0.4938 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.42, allocations: 0 / 0.4938 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/0.4201, allocations: 29.92 kB / 0.4939 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.4202, allocations: 56.25 kB / 0.4939 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.4212, allocations: 0.8721 MB / 0.4948 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.4241, allocations: 2.484 MB / 0.4972 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/0.4248, allocations: 0.5548 MB / 0.4977 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.4252, allocations: 444.7 kB / 0.4982 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.4252, allocations: 6.312 kB / 0.4982 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.4253, allocations: 38.5 kB / 0.4982 GB, free: 28.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=56): time 2.445e-06/0.4253, allocations: 7.094 kB / 0.4982 GB, free: 28.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.0025/0.4278, allocations: 1.989 MB / 0.5002 GB, free: 27.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.4278, allocations: 144.2 kB / 0.5003 GB, free: 27.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.4281, allocations: 307.4 kB / 0.5006 GB, free: 27.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.4281, allocations: 32.95 kB / 0.5006 GB, free: 27.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.4282, allocations: 264.6 kB / 0.5009 GB, free: 27.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.65e-05/0.4283, allocations: 196.7 kB / 0.5011 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.4285, allocations: 107.3 kB / 0.5012 GB, free: 26.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.4285, allocations: 354.2 kB / 0.5015 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/0.429, allocations: 419 kB / 0.5019 GB, free: 26.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.4295, allocations: 0.5513 MB / 0.5024 GB, free: 26.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.4305, allocations: 1.019 MB / 0.5034 GB, free: 25.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.4305, allocations: 3.188 kB / 0.5034 GB, free: 25.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001286/0.4318, allocations: 1.075 MB / 0.5045 GB, free: 25.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.519e-05/0.4319, allocations: 76.58 kB / 0.5046 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.4319, allocations: 3.125 kB / 0.5046 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/0.4321, allocations: 51.75 kB / 0.5046 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.4324, allocations: 84.58 kB / 0.5047 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009848/0.4334, allocations: 1.421 MB / 0.5061 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.4338, allocations: 28.86 kB / 0.5061 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.557e-05/0.4338, allocations: 28.56 kB / 0.5061 GB, free: 23.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003505/0.4342, allocations: 303.4 kB / 0.5064 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.4343, allocations: 48.14 kB / 0.5065 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.4356, allocations: 1.137 MB / 0.5076 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.4356, allocations: 8.594 kB / 0.5076 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4356, allocations: 7 kB / 0.5076 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4356, allocations: 3.375 kB / 0.5076 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.438, allocations: 1.7 MB / 0.5093 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.438, allocations: 5.562 kB / 0.5093 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.4383, allocations: 58.77 kB / 0.5093 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.4384, allocations: 34.31 kB / 0.5094 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/0.4385, allocations: 18.72 kB / 0.5094 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009864/0.4395, allocations: 1.42 MB / 0.5108 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.4395, allocations: 5.312 kB / 0.5108 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.441, allocations: 1.233 MB / 0.512 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.4412, allocations: 105 kB / 0.5121 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/0.4413, allocations: 14.73 kB / 0.5121 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.4416, allocations: 25.39 kB / 0.5121 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4417, allocations: 47.14 kB / 0.5122 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.005e-05/0.4417, allocations: 18.97 kB / 0.5122 GB, free: 20.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.4419, allocations: 202 kB / 0.5124 GB, free: 20.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4419, allocations: 0 / 0.5124 GB, free: 20.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006825/0.4426, allocations: 144.7 kB / 0.5125 GB, free: 20.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002383/0.4428, allocations: 146.5 kB / 0.5126 GB, free: 20.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.4444, allocations: 1.268 MB / 0.5139 GB, free: 19.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.4444, allocations: 0 / 0.5139 GB, free: 19.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008226/0.4453, allocations: 0.7417 MB / 0.5146 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.4458, allocations: 81.55 kB / 0.5147 GB, free: 19.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.448, allocations: 1.489 MB / 0.5161 GB, free: 18.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.4483, allocations: 307 kB / 0.5164 GB, free: 18.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002691/0.4486, allocations: 104.8 kB / 0.5165 GB, free: 18.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.4487, allocations: 32.34 kB / 0.5166 GB, free: 18.43 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4487, allocations: 0 / 0.5166 GB, free: 18.43 MB / 446.1 MB Notification: Performance of Templates: time 0.01392/0.4626, allocations: 6.174 MB / 0.5226 GB, free: 17.71 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.323085700976662]