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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 104.5 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 193.5 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1818/0.1818, allocations: 38.52 MB / 345 MB, free: 2.656 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.89 kB / 482.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 61.24 MB / 0.531 GB, free: 5.473 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007476/0.3148, allocations: 6.882 MB / 0.5377 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003939/0.3188, allocations: 2.151 MB / 0.5398 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004682/0.3193, allocations: 27.5 kB / 0.5398 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.3209, allocations: 0.5286 MB / 0.5403 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.3223, allocations: 0.5531 MB / 0.5409 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009768/0.3232, allocations: 369.4 kB / 0.5412 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.3248, allocations: 1.305 MB / 0.5425 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008787/0.3257, allocations: 0.5853 MB / 0.5431 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009387/0.3266, allocations: 0.5527 MB / 0.5436 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.3277, allocations: 0.7346 MB / 0.5443 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.3279, allocations: 99.66 kB / 0.5444 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.329, allocations: 0.5414 MB / 0.5449 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005179/0.3295, allocations: 472.9 kB / 0.5454 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006144/0.3301, allocations: 0.5196 MB / 0.5459 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.332, allocations: 1.464 MB / 0.5473 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.332, allocations: 1.312 kB / 0.5473 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.332, allocations: 0 / 0.5473 GB, free: 10.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.332, allocations: 0 / 0.5473 GB, free: 10.04 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.003025/0.335, allocations: 1.375 MB / 0.5487 GB, free: 9.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3351, allocations: 12.64 kB / 0.5487 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007775/0.3358, allocations: 147.5 kB / 0.5488 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.3372, allocations: 0.6975 MB / 0.5495 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.3375, allocations: 172.8 kB / 0.5497 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/0.3377, allocations: 98.22 kB / 0.5498 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.3401, allocations: 1.361 MB / 0.5511 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.3401, allocations: 1.438 kB / 0.5511 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.951e-05/0.3402, allocations: 32.88 kB / 0.5511 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/0.3404, allocations: 62.41 kB / 0.5512 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.3428, allocations: 1.305 MB / 0.5525 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007815/0.3506, allocations: 4.916 MB / 0.5573 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.3529, allocations: 1.087 MB / 0.5583 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.3541, allocations: 0.5774 MB / 0.5589 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-05/0.3541, allocations: 16.55 kB / 0.5589 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.3542, allocations: 35.12 kB / 0.5589 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 3.857e-06/0.3542, allocations: 0 / 0.5589 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006453/0.3606, allocations: 3.196 MB / 0.5621 GB, free: 12.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.3607, allocations: 85.67 kB / 0.5621 GB, free: 12.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/0.3613, allocations: 465.9 kB / 0.5626 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.702e-05/0.3614, allocations: 41.73 kB / 0.5626 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/0.3617, allocations: 408.3 kB / 0.563 GB, free: 11.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.3619, allocations: 257.8 kB / 0.5633 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.3622, allocations: 158.5 kB / 0.5634 GB, free: 10.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.3624, allocations: 374.8 kB / 0.5638 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000936/0.3633, allocations: 0.4899 MB / 0.5642 GB, free: 10.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.3644, allocations: 0.6872 MB / 0.5649 GB, free: 9.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/0.3665, allocations: 1.216 MB / 0.5661 GB, free: 7.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.3665, allocations: 7.938 kB / 0.5661 GB, free: 7.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004741/0.3712, allocations: 1.966 MB / 0.568 GB, free: 5.961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3713, allocations: 11.94 kB / 0.568 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004016/0.3753, allocations: 1.702 MB / 0.5697 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/0.3772, allocations: 0.6495 MB / 0.5703 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/0.3778, allocations: 155.7 kB / 0.5705 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/0.3902, allocations: 7.43 MB / 0.5777 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008225/0.391, allocations: 71.91 kB / 0.5778 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-05/0.3911, allocations: 28 kB / 0.5778 GB, free: 11.62 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.0005899/0.3917, allocations: 313.5 kB / 0.5781 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.3918, allocations: 63.62 kB / 0.5782 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.3944, allocations: 1.297 MB / 0.5795 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.3944, allocations: 12 kB / 0.5795 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3944, allocations: 4 kB / 0.5795 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.3944, allocations: 3.984 kB / 0.5795 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004301/0.3987, allocations: 2.405 MB / 0.5818 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.3987, allocations: 7.938 kB / 0.5818 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002577/0.4013, allocations: 495.4 kB / 0.5823 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/0.4014, allocations: 32.84 kB / 0.5823 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/0.4015, allocations: 23.94 kB / 0.5824 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.4029, allocations: 1.63 MB / 0.584 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4029, allocations: 0 / 0.584 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003575/0.4065, allocations: 2.021 MB / 0.5859 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.4067, allocations: 128.7 kB / 0.5861 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.4068, allocations: 19.98 kB / 0.5861 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/0.4074, allocations: 63.92 kB / 0.5861 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.4076, allocations: 64.47 kB / 0.5862 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.4076, allocations: 16 kB / 0.5862 GB, free: 2.699 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004145/0.408, allocations: 326.7 kB / 0.5865 GB, free: 2.383 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.408, allocations: 4 kB / 0.5865 GB, free: 2.379 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001048/0.4091, allocations: 235.9 kB / 0.5867 GB, free: 2.148 MB / 430.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.0002565/0.4094, allocations: 131 kB / 0.5869 GB, free: 2.012 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003064/0.4124, allocations: 1.504 MB / 0.5883 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4124, allocations: 0 / 0.5883 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.415, allocations: 0.9626 MB / 0.5893 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009226/0.4159, allocations: 159.8 kB / 0.5894 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/0.4203, allocations: 2.369 MB / 0.5917 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000827/0.4211, allocations: 1.09 MB / 0.5928 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.4214, allocations: 59.42 kB / 0.5929 GB, free: 11.76 MB / 446.1 MB Notification: Performance of SimCode: time 1.213e-06/0.4214, allocations: 0 / 0.5929 GB, free: 11.76 MB / 446.1 MB Notification: Performance of Templates: time 0.02752/0.449, allocations: 20.39 MB / 0.6128 GB, free: 7.398 MB / 462.1 MB [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins1/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