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.001417/0.001417, allocations: 75.77 kB / 21.18 MB, free: 3.379 MB / 18.57 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.001493/0.001493, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 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.9603/0.9603, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.255/0.255, allocations: 29.42 MB / 290.9 MB, free: 2.508 MB / 266.7 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.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|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.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.512e-05/3.744e-05, allocations: 10.31 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007909/0.007946, allocations: 5.892 MB / 375.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.01165, allocations: 2.118 MB / 377.7 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.01198, allocations: 35.69 kB / 377.7 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007472/0.01273, allocations: 238.5 kB / 377.9 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006771/0.01341, allocations: 0.5556 MB / 378.5 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.01392, allocations: 398.9 kB / 378.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008764/0.0148, allocations: 1.329 MB / 380.2 MB, free: 388 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005585/0.01536, allocations: 0.5333 MB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006565/0.01601, allocations: 0.7443 MB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/0.01661, allocations: 0.6742 MB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.01672, allocations: 100 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005547/0.01727, allocations: 0.5304 MB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.01758, allocations: 498.8 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.01788, allocations: 383.2 kB / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008848/0.01876, allocations: 1.083 MB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.01876, allocations: 4 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01876, allocations: 0 / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.01878, allocations: 0 / 384.7 MB, free: 11.83 MB / 362.7 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.001645/0.02042, allocations: 1.399 MB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.02046, allocations: 15.98 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006195/0.02108, allocations: 272.1 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000758/0.02183, allocations: 0.6196 MB / 387 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.02201, allocations: 325.8 kB / 387.3 MB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.02216, allocations: 92.69 kB / 387.4 MB, free: 9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.02338, allocations: 0.9028 MB / 388.3 MB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.02341, allocations: 0 / 388.3 MB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.812e-05/0.02346, allocations: 39.98 kB / 388.4 MB, free: 7.969 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.08e-05/0.02355, allocations: 61.97 kB / 388.4 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008131/0.02437, allocations: 483.4 kB / 388.9 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003883/0.02825, allocations: 4.71 MB / 393.6 MB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/0.02896, allocations: 457.7 kB / 394.1 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007164/0.02968, allocations: 264 kB / 394.3 MB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.503e-05/0.02973, allocations: 16.64 kB / 394.3 MB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.02976, allocations: 42.05 kB / 394.4 MB, free: 1.762 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.865e-06/0.02977, allocations: 3.984 kB / 394.4 MB, free: 1.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.002186/0.03195, allocations: 1.511 MB / 395.9 MB, free: 212 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.03199, allocations: 81.77 kB / 396 MB, free: 112 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.03229, allocations: 446.5 kB / 396.4 MB, free: 15.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.03233, allocations: 33.7 kB / 396.4 MB, free: 15.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.03252, allocations: 471 kB / 396.9 MB, free: 15.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.03267, allocations: 269.7 kB / 397.2 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.03284, allocations: 152.3 kB / 397.3 MB, free: 14.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.03299, allocations: 0.5508 MB / 397.9 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.03325, allocations: 173.9 kB / 398 MB, free: 13.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.03361, allocations: 446.6 kB / 398.5 MB, free: 13.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006411/0.03425, allocations: 0.6376 MB / 399.1 MB, free: 12.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.03426, allocations: 4 kB / 399.1 MB, free: 12.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001629/0.03589, allocations: 1.054 MB / 400.2 MB, free: 11.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.03591, allocations: 11.98 kB / 400.2 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001241/0.03715, allocations: 0.7778 MB / 401 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.03867, allocations: 0.5105 MB / 401.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.03899, allocations: 151.8 kB / 401.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/0.04327, allocations: 5.292 MB / 406.9 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.04356, allocations: 63.92 kB / 407 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/0.04361, allocations: 36.06 kB / 407 MB, free: 4.547 MB / 378.7 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.0002176/0.04383, allocations: 204.3 kB / 407.2 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.04396, allocations: 87.62 kB / 407.3 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008455/0.04481, allocations: 0.6003 MB / 407.9 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.04482, allocations: 16 kB / 407.9 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.04483, allocations: 7.938 kB / 407.9 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.04484, allocations: 3.984 kB / 407.9 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.0468, allocations: 1.392 MB / 409.3 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.0468, allocations: 4.094 kB / 409.3 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.04785, allocations: 399.5 kB / 409.7 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.406e-05/0.04793, allocations: 27.66 kB / 409.7 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.04797, allocations: 24 kB / 409.8 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008118/0.04878, allocations: 2.008 MB / 411.8 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.04879, allocations: 4.062 kB / 411.8 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.04987, allocations: 0.938 MB / 412.7 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.04992, allocations: 55.61 kB / 412.8 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.04997, allocations: 16 kB / 412.8 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.05019, allocations: 51.92 kB / 412.8 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.05031, allocations: 76.47 kB / 412.9 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.05034, allocations: 20 kB / 412.9 MB, free: 14.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001735/0.05052, allocations: 275.1 kB / 413.2 MB, free: 14.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.05052, allocations: 0 / 413.2 MB, free: 14.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005938/0.05111, allocations: 235.9 kB / 413.4 MB, free: 13.88 MB / 394.7 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.0002039/0.05131, allocations: 123.1 kB / 413.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.05247, allocations: 1.04 MB / 414.6 MB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.05248, allocations: 0 / 414.6 MB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009157/0.05339, allocations: 0.6278 MB / 415.2 MB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.05388, allocations: 135.8 kB / 415.3 MB, free: 11.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.05671, allocations: 1.81 MB / 417.2 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.05689, allocations: 251.2 kB / 417.4 MB, free: 9.766 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002814/0.05717, allocations: 161 kB / 417.6 MB, free: 9.609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.05731, allocations: 48.5 kB / 417.6 MB, free: 9.562 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/0.05731, allocations: 0 / 417.6 MB, free: 9.562 MB / 394.7 MB Notification: Performance of Templates: time 0.01408/0.07139, allocations: 12.08 MB / 429.7 MB, free: 13.61 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.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: 4.009977374691516]