Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.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.001675/0.001675, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002004/0.002004, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.556/1.556, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.189/0.189, allocations: 38.55 MB / 352.5 MB, free: 12.39 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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [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.002362/0.002362, allocations: 67.91 kB / 493 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4135, allocations: 62.46 MB / 0.5424 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.009677/0.4231, allocations: 6.471 MB / 0.5488 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00456/0.4277, allocations: 2.052 MB / 0.5508 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004827/0.4282, allocations: 35.41 kB / 0.5508 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.4298, allocations: 0.5069 MB / 0.5513 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.4316, allocations: 0.5572 MB / 0.5518 GB, free: 9.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.4329, allocations: 375.3 kB / 0.5522 GB, free: 8.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002072/0.435, allocations: 1.305 MB / 0.5535 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008832/0.4359, allocations: 0.5359 MB / 0.554 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.4369, allocations: 0.5651 MB / 0.5545 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.4381, allocations: 0.7046 MB / 0.5552 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.4383, allocations: 99.31 kB / 0.5553 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.4394, allocations: 0.5238 MB / 0.5558 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005959/0.44, allocations: 470.9 kB / 0.5563 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005886/0.4406, allocations: 446.2 kB / 0.5567 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.4425, allocations: 1.491 MB / 0.5582 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4425, allocations: 0 / 0.5582 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4425, allocations: 0 / 0.5582 GB, free: 4.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.4425, allocations: 0 / 0.5582 GB, free: 4.016 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002981/0.4455, allocations: 1.291 MB / 0.5594 GB, free: 2.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.4455, allocations: 23.86 kB / 0.5594 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008924/0.4464, allocations: 180.2 kB / 0.5596 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.4479, allocations: 0.6175 MB / 0.5602 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003739/0.4483, allocations: 333.9 kB / 0.5605 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.4485, allocations: 91.92 kB / 0.5606 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.4508, allocations: 1.358 MB / 0.562 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.4509, allocations: 3.938 kB / 0.562 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.44e-05/0.451, allocations: 32 kB / 0.562 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000173/0.4511, allocations: 65.97 kB / 0.562 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.4536, allocations: 1.288 MB / 0.5633 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007787/0.4614, allocations: 4.49 MB / 0.5677 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.4636, allocations: 1.003 MB / 0.5687 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.4648, allocations: 0.5775 MB / 0.5692 GB, free: 8.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.217e-05/0.4648, allocations: 8.656 kB / 0.5692 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/0.4649, allocations: 51.14 kB / 0.5693 GB, free: 8.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 4.238e-06/0.4649, allocations: 3.938 kB / 0.5693 GB, free: 8.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006186/0.4711, allocations: 2.956 MB / 0.5722 GB, free: 5.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.4711, allocations: 89.7 kB / 0.5723 GB, free: 5.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005527/0.4717, allocations: 425.7 kB / 0.5727 GB, free: 4.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.983e-05/0.4717, allocations: 33.7 kB / 0.5727 GB, free: 4.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.4721, allocations: 412.3 kB / 0.5731 GB, free: 4.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/0.4724, allocations: 269.6 kB / 0.5734 GB, free: 4.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.4727, allocations: 146.6 kB / 0.5735 GB, free: 3.867 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.4729, allocations: 374.8 kB / 0.5739 GB, free: 3.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009422/0.4739, allocations: 0.4899 MB / 0.5743 GB, free: 3.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.475, allocations: 0.6833 MB / 0.575 GB, free: 2.246 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.4771, allocations: 1.217 MB / 0.5762 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.4771, allocations: 4 kB / 0.5762 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004694/0.4818, allocations: 1.895 MB / 0.578 GB, free: 15.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.4818, allocations: 8 kB / 0.5781 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003893/0.4857, allocations: 1.623 MB / 0.5796 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/0.4876, allocations: 0.6572 MB / 0.5803 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006333/0.4882, allocations: 147.8 kB / 0.5804 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.5003, allocations: 7.093 MB / 0.5873 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008056/0.5011, allocations: 80 kB / 0.5874 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/0.5011, allocations: 35.92 kB / 0.5875 GB, free: 5.195 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005551/0.5017, allocations: 313.5 kB / 0.5878 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.5019, allocations: 59.58 kB / 0.5878 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.5044, allocations: 1.226 MB / 0.589 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.32e-05/0.5044, allocations: 12 kB / 0.589 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5044, allocations: 4 kB / 0.589 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.5044, allocations: 3.984 kB / 0.589 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/0.5085, allocations: 2.077 MB / 0.5911 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.5085, allocations: 4 kB / 0.5911 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002649/0.5111, allocations: 0.4915 MB / 0.5915 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.5113, allocations: 40.84 kB / 0.5916 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/0.5113, allocations: 15.98 kB / 0.5916 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.5127, allocations: 1.492 MB / 0.5931 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5127, allocations: 4.094 kB / 0.5931 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/0.5163, allocations: 1.927 MB / 0.5949 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.5165, allocations: 59.61 kB / 0.595 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.41e-05/0.5165, allocations: 16.02 kB / 0.595 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.5171, allocations: 67.91 kB / 0.5951 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.5173, allocations: 68.47 kB / 0.5951 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.5173, allocations: 19.98 kB / 0.5952 GB, free: 13.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003905/0.5177, allocations: 275.1 kB / 0.5954 GB, free: 12.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5177, allocations: 0 / 0.5954 GB, free: 12.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001095/0.5188, allocations: 235.9 kB / 0.5956 GB, free: 12.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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.0003285/0.5191, allocations: 128.9 kB / 0.5958 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003007/0.5221, allocations: 1.517 MB / 0.5972 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5221, allocations: 0 / 0.5972 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002694/0.5248, allocations: 0.967 MB / 0.5982 GB, free: 9.934 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007831/0.5256, allocations: 128.5 kB / 0.5983 GB, free: 9.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/0.5301, allocations: 2.292 MB / 0.6006 GB, free: 7.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.5307, allocations: 477.6 kB / 0.601 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005621/0.5313, allocations: 205 kB / 0.6012 GB, free: 6.789 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.5315, allocations: 51.42 kB / 0.6013 GB, free: 6.738 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5315, allocations: 4 kB / 0.6013 GB, free: 6.734 MB / 446.1 MB Notification: Performance of Templates: time 0.02347/0.5549, allocations: 13.01 MB / 0.614 GB, free: 9.844 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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: 6.259504336863756]