Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.001188/0.001188, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001739/0.002926, allocations: 449.7 kB / 10.37 MB, free: 328 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.001219/0.001219, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.002409, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9821/0.9821, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08628/1.068, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.1175/0.1175, allocations: 29.43 MB / 273.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1093/0.2268, allocations: 9.537 MB / 283 MB, free: 12.85 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.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="meterAC.i.[0-9,]+.|meterAC.p_av.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="meterAC.i.[0-9,]+.|meterAC.p_av.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.528e-05, allocations: 6.141 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009719/0.009744, allocations: 5.898 MB / 290.1 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005024/0.01477, allocations: 2.147 MB / 292.3 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007225/0.01549, allocations: 31.28 kB / 292.3 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.01682, allocations: 442.1 kB / 292.8 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.01855, allocations: 0.584 MB / 293.3 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.01965, allocations: 362.1 kB / 293.7 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.02157, allocations: 1.348 MB / 295 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.02263, allocations: 0.5522 MB / 295.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.02434, allocations: 0.8419 MB / 296.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.02548, allocations: 0.6703 MB / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.0257, allocations: 96 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.02704, allocations: 0.6122 MB / 297.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005544/0.02759, allocations: 443.1 kB / 298.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005914/0.02818, allocations: 307.4 kB / 298.5 MB, free: 476 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.02991, allocations: 1.024 MB / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.721e-05/0.02993, allocations: 7.938 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.02993, allocations: 0 / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.208e-05/0.02996, allocations: 0 / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002847/0.03281, allocations: 1.371 MB / 300.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.03285, allocations: 8.031 kB / 301 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.03395, allocations: 297.7 kB / 301.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.03497, allocations: 0.5044 MB / 301.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/0.03526, allocations: 321.9 kB / 302.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.03549, allocations: 84.55 kB / 302.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.037, allocations: 0.7732 MB / 302.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.03704, allocations: 7.891 kB / 302.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.03715, allocations: 35.98 kB / 303 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/0.03734, allocations: 77.95 kB / 303 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.03836, allocations: 412.5 kB / 303.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003599/0.04195, allocations: 2.846 MB / 306.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006324/0.04259, allocations: 0.4883 MB / 306.8 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.04288, allocations: 251.1 kB / 307 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.219e-05/0.04293, allocations: 16.64 kB / 307 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.04296, allocations: 43.22 kB / 307.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of pre-optimization done (n=101): time 3.176e-06/0.04297, allocations: 0 / 307.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=102): time 0.002012/0.04498, allocations: 1.312 MB / 308.4 MB, free: 6.285 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.04502, allocations: 86.11 kB / 308.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.04522, allocations: 331.1 kB / 308.8 MB, free: 5.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.04526, allocations: 45.83 kB / 308.8 MB, free: 5.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.04538, allocations: 322 kB / 309.2 MB, free: 5.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.04555, allocations: 364.7 kB / 309.5 MB, free: 5.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.04571, allocations: 150.5 kB / 309.7 MB, free: 4.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.04581, allocations: 378.6 kB / 310 MB, free: 4.586 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.04599, allocations: 136.8 kB / 310.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.04622, allocations: 276.6 kB / 310.4 MB, free: 4.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.04667, allocations: 0.502 MB / 310.9 MB, free: 3.586 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.04668, allocations: 4 kB / 310.9 MB, free: 3.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0006917/0.04737, allocations: 0.5615 MB / 311.5 MB, free: 3.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.04739, allocations: 8.062 kB / 311.5 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.0474, allocations: 4 kB / 311.5 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001061/0.0475, allocations: 28.84 kB / 311.5 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.04859, allocations: 423.4 kB / 312 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.05111, allocations: 5.27 MB / 317.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.0515, allocations: 43.91 kB / 317.3 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.05155, allocations: 23.98 kB / 317.3 MB, free: 12.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002309/0.05178, allocations: 156.5 kB / 317.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.05192, allocations: 71.94 kB / 317.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006966/0.05262, allocations: 0.5855 MB / 318.1 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.05264, allocations: 27.98 kB / 318.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.05265, allocations: 0 / 318.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.05265, allocations: 3.984 kB / 318.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.05415, allocations: 1.273 MB / 319.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.05416, allocations: 4 kB / 319.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.05532, allocations: 452.2 kB / 319.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.05539, allocations: 63.48 kB / 319.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.83e-05/0.05545, allocations: 28.84 kB / 319.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/0.0555, allocations: 20 kB / 320 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006237/0.05613, allocations: 1.454 MB / 321.4 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.05613, allocations: 3.938 kB / 321.4 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009713/0.0571, allocations: 0.9481 MB / 322.4 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.335e-05/0.05717, allocations: 23.92 kB / 322.4 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.05741, allocations: 31.98 kB / 322.4 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.05751, allocations: 64.53 kB / 322.5 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.05755, allocations: 24 kB / 322.5 MB, free: 7.387 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.029e-05/0.05764, allocations: 132.7 kB / 322.6 MB, free: 7.254 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05764, allocations: 0 / 322.6 MB, free: 7.254 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005706/0.05821, allocations: 243.9 kB / 322.9 MB, free: 7.016 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000232/0.05844, allocations: 152.1 kB / 323 MB, free: 6.859 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.05968, allocations: 0.8244 MB / 323.8 MB, free: 6.008 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.647e-05/0.05971, allocations: 8.062 kB / 323.9 MB, free: 6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008542/0.06056, allocations: 0.5943 MB / 324.5 MB, free: 5.379 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.06109, allocations: 208.3 kB / 324.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.07161, allocations: 1.886 MB / 326.5 MB, free: 3.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.07182, allocations: 247.9 kB / 326.8 MB, free: 2.965 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004296/0.07225, allocations: 93.33 kB / 326.9 MB, free: 2.871 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/0.07258, allocations: 181.3 kB / 327.1 MB, free: 2.695 MB / 314.7 MB Notification: Performance of SimCode: time 1.553e-06/0.07258, allocations: 0 / 327.1 MB, free: 2.695 MB / 314.7 MB Notification: Performance of Templates: time 0.01386/0.08645, allocations: 11.12 MB / 338.2 MB, free: 7.723 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1306726979091763]