Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.001313/0.001313, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001464/0.001464, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.398/1.398, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.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.1805/0.1805, allocations: 38.52 MB / 353.2 MB, free: 12.54 MB / 286.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.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.002/0.002, allocations: 67.89 kB / 493.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2912, allocations: 62.47 MB / 0.5432 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005236/0.2965, allocations: 4.188 MB / 0.5473 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.2979, allocations: 0.9378 MB / 0.5482 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.2981, allocations: 15.66 kB / 0.5483 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.2983, allocations: 55.77 kB / 0.5483 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004765/0.2987, allocations: 188.9 kB / 0.5485 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.299, allocations: 91.64 kB / 0.5486 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000448/0.2994, allocations: 403.9 kB / 0.549 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.2996, allocations: 85.78 kB / 0.549 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.2999, allocations: 185.7 kB / 0.5492 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.3003, allocations: 213.1 kB / 0.5494 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.3003, allocations: 20.06 kB / 0.5494 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.752e-05/0.3003, allocations: 20.81 kB / 0.5495 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3005, allocations: 115.6 kB / 0.5496 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.3006, allocations: 150.1 kB / 0.5497 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.301, allocations: 317.5 kB / 0.55 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.301, allocations: 0 / 0.55 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.301, allocations: 1.125 kB / 0.55 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.301, allocations: 0 / 0.55 GB, free: 11.4 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001049/0.3021, allocations: 0.5621 MB / 0.5506 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.3021, allocations: 18.02 kB / 0.5506 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.3022, allocations: 31.97 kB / 0.5506 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.3027, allocations: 283.4 kB / 0.5509 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.3027, allocations: 18.25 kB / 0.5509 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.3027, allocations: 22.75 kB / 0.5509 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.3032, allocations: 316.2 kB / 0.5512 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3032, allocations: 1.438 kB / 0.5512 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.3032, allocations: 10.44 kB / 0.5512 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3032, allocations: 5.75 kB / 0.5512 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.3036, allocations: 220.3 kB / 0.5515 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.3052, allocations: 1.305 MB / 0.5527 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.3055, allocations: 139 kB / 0.5529 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3056, allocations: 62.53 kB / 0.5529 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3056, allocations: 1.031 kB / 0.5529 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.3057, allocations: 40.44 kB / 0.553 GB, free: 8.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.3057, allocations: 0 / 0.553 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007517/0.3064, allocations: 368 kB / 0.5533 GB, free: 8.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.3065, allocations: 79.73 kB / 0.5534 GB, free: 8.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.3067, allocations: 260.1 kB / 0.5536 GB, free: 8.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3067, allocations: 30.86 kB / 0.5537 GB, free: 8.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.3069, allocations: 209.9 kB / 0.5539 GB, free: 8.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.3069, allocations: 49.09 kB / 0.5539 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.307, allocations: 50.44 kB / 0.554 GB, free: 8.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3072, allocations: 336.2 kB / 0.5543 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.1e-05/0.3073, allocations: 56.25 kB / 0.5543 GB, free: 7.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.3074, allocations: 149.8 kB / 0.5545 GB, free: 7.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.3077, allocations: 229.8 kB / 0.5547 GB, free: 7.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3077, allocations: 1.25 kB / 0.5547 GB, free: 7.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000358/0.3081, allocations: 250.1 kB / 0.5549 GB, free: 7.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3081, allocations: 13.97 kB / 0.5549 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3081, allocations: 3.75 kB / 0.555 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3081, allocations: 4.406 kB / 0.555 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.3083, allocations: 48.56 kB / 0.555 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.3083, allocations: 9.156 kB / 0.555 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.3084, allocations: 12.7 kB / 0.555 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.3084, allocations: 7.938 kB / 0.555 GB, free: 7.246 MB / 398.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 (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 0.0001614/0.3086, allocations: 162.8 kB / 0.5552 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.3086, allocations: 27.95 kB / 0.5552 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.309, allocations: 197.6 kB / 0.5554 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.309, allocations: 2.219 kB / 0.5554 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.309, allocations: 1.062 kB / 0.5554 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.309, allocations: 1.062 kB / 0.5554 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.3096, allocations: 0.5265 MB / 0.5559 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3096, allocations: 1.156 kB / 0.5559 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.3098, allocations: 34.45 kB / 0.556 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3098, allocations: 5.312 kB / 0.556 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.3098, allocations: 9.078 kB / 0.556 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.3098, allocations: 6.188 kB / 0.556 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3098, allocations: 1.156 kB / 0.556 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.3101, allocations: 296.5 kB / 0.5563 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.3102, allocations: 26.59 kB / 0.5563 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.3102, allocations: 6.344 kB / 0.5563 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.3103, allocations: 10.31 kB / 0.5563 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.3104, allocations: 11.52 kB / 0.5563 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3104, allocations: 7.484 kB / 0.5563 GB, free: 6.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.3105, allocations: 185.3 kB / 0.5565 GB, free: 6.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3105, allocations: 0 / 0.5565 GB, free: 6.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.3108, allocations: 48.12 kB / 0.5565 GB, free: 6.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 16 * 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.0001051/0.3109, allocations: 100.4 kB / 0.5566 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.3112, allocations: 149.3 kB / 0.5568 GB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3112, allocations: 0 / 0.5568 GB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.3113, allocations: 77.92 kB / 0.5569 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.3118, allocations: 63.81 kB / 0.5569 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008715/0.3127, allocations: 0.5669 MB / 0.5575 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.3131, allocations: 0.7831 MB / 0.5582 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.707e-05/0.3131, allocations: 23.44 kB / 0.5583 GB, free: 4.535 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3131, allocations: 0 / 0.5583 GB, free: 4.535 MB / 398.1 MB Notification: Performance of Templates: time 0.005206/0.3183, allocations: 3.221 MB / 0.5614 GB, free: 1.32 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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: 7.328129805857316]