Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.001139/0.001139, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001671/0.00281, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001183/0.001183, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002724, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.026/1.026, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09476/1.121, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.113/0.113, allocations: 29.44 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1464/0.2594, allocations: 9.541 MB / 283.1 MB, free: 12.83 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.264e-05, allocations: 3.719 kB / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.00487/0.004892, allocations: 4.256 MB / 288.7 MB, free: 8.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.007077, allocations: 1.546 MB / 290.2 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.007291, allocations: 20.84 kB / 290.3 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005524/0.007843, allocations: 293.9 kB / 290.6 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005121/0.008355, allocations: 303.5 kB / 290.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.008999, allocations: 249 kB / 291.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00067/0.009669, allocations: 0.6329 MB / 291.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.009969, allocations: 201.4 kB / 291.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006067/0.01058, allocations: 424.8 kB / 292.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004314/0.01101, allocations: 338.6 kB / 292.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.672e-05/0.01107, allocations: 37.16 kB / 292.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.01152, allocations: 236.5 kB / 292.9 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.01172, allocations: 218.8 kB / 293.2 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.0119, allocations: 142 kB / 293.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005853/0.01248, allocations: 499.7 kB / 293.8 MB, free: 5.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/0.01249, allocations: 0 / 293.8 MB, free: 5.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01249, allocations: 1.25 kB / 293.8 MB, free: 5.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.01251, allocations: 0 / 293.8 MB, free: 5.34 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0009989/0.01351, allocations: 0.7431 MB / 294.5 MB, free: 4.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.01354, allocations: 8.031 kB / 294.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005655/0.01411, allocations: 225.8 kB / 294.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.01451, allocations: 324.3 kB / 295.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.01453, allocations: 25.38 kB / 295.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.01463, allocations: 48.67 kB / 295.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.01505, allocations: 415 kB / 295.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.01507, allocations: 7.938 kB / 295.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.0151, allocations: 19.98 kB / 295.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/0.01522, allocations: 60.95 kB / 295.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.01552, allocations: 217.6 kB / 295.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.01764, allocations: 2 MB / 297.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.01782, allocations: 172.2 kB / 298 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.821e-05/0.01789, allocations: 66 kB / 298.1 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.01791, allocations: 4.234 kB / 298.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.01794, allocations: 46.48 kB / 298.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/0.01794, allocations: 0 / 298.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009223/0.01886, allocations: 0.5969 MB / 298.7 MB, free: 140 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.01891, allocations: 81.11 kB / 298.8 MB, free: 40 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.01908, allocations: 262.8 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.0191, allocations: 29.7 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.01921, allocations: 248.7 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.01929, allocations: 146.7 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/0.01937, allocations: 78.12 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.01947, allocations: 350.7 kB / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.984e-05/0.01954, allocations: 55.81 kB / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.01968, allocations: 197.4 kB / 300.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.01994, allocations: 306.8 kB / 300.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01994, allocations: 0 / 300.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004316/0.02037, allocations: 356.4 kB / 300.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.02039, allocations: 8 kB / 300.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.0204, allocations: 7.938 kB / 300.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002627/0.02066, allocations: 98.11 kB / 300.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.02084, allocations: 79.91 kB / 301 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.02256, allocations: 2.533 MB / 303.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.02267, allocations: 11.95 kB / 303.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.02269, allocations: 20.06 kB / 303.5 MB, free: 10.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.02281, allocations: 144.5 kB / 303.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.02288, allocations: 31.97 kB / 303.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.02311, allocations: 220.6 kB / 303.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.02313, allocations: 11.98 kB / 303.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.02313, allocations: 0 / 303.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.02313, allocations: 0 / 303.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.02367, allocations: 0.5524 MB / 304.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.02367, allocations: 0 / 304.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.02391, allocations: 75.89 kB / 304.6 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.02396, allocations: 47.73 kB / 304.6 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.02396, allocations: 0 / 304.6 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.02398, allocations: 8 kB / 304.6 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.02398, allocations: 7.922 kB / 304.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.02398, allocations: 4 kB / 304.6 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.02429, allocations: 416.6 kB / 305 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.02432, allocations: 8 kB / 305.1 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.0244, allocations: 8 kB / 305.1 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.02443, allocations: 27.89 kB / 305.1 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.02444, allocations: 8 kB / 305.1 MB, free: 9.285 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.069e-05/0.0245, allocations: 92.56 kB / 305.2 MB, free: 9.191 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0245, allocations: 0 / 305.2 MB, free: 9.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.0248, allocations: 115.9 kB / 305.3 MB, free: 9.078 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0001754/0.02498, allocations: 128.4 kB / 305.4 MB, free: 8.941 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004488/0.02543, allocations: 469.8 kB / 305.9 MB, free: 8.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/0.02544, allocations: 8 kB / 305.9 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.02555, allocations: 113.2 kB / 306 MB, free: 8.336 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.026, allocations: 0.5485 MB / 306.5 MB, free: 7.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005583/0.03158, allocations: 0.9206 MB / 307.5 MB, free: 6.727 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.03169, allocations: 153.7 kB / 307.6 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.03183, allocations: 43.25 kB / 307.7 MB, free: 6.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.03197, allocations: 103.4 kB / 307.8 MB, free: 6.414 MB / 298.7 MB Notification: Performance of SimCode: time 9.01e-07/0.03197, allocations: 0 / 307.8 MB, free: 6.414 MB / 298.7 MB Notification: Performance of Templates: time 0.007371/0.03934, allocations: 4.614 MB / 312.4 MB, free: 1.875 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9011937668547034]