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.001644/0.001644, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.002027/0.002027, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 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 1.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.273/0.273, allocations: 29.42 MB / 291.2 MB, free: 2.348 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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 1.493e-06/1.493e-06, allocations: 0 / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.304e-05, allocations: 6.312 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.005281/0.005304, allocations: 5.887 MB / 322.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.008209, allocations: 2.13 MB / 324.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.008465, allocations: 35.69 kB / 324.9 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000662/0.009127, allocations: 381.9 kB / 325.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006783/0.009806, allocations: 0.5517 MB / 325.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.01036, allocations: 398.9 kB / 326.2 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008923/0.01125, allocations: 1.321 MB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005044/0.01175, allocations: 0.5684 MB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008683/0.01262, allocations: 0.8184 MB / 328.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005655/0.01319, allocations: 0.5962 MB / 329.5 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.882e-05/0.01329, allocations: 92 kB / 329.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/0.01382, allocations: 0.5225 MB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004266/0.01425, allocations: 490.8 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.01455, allocations: 375.2 kB / 331 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008475/0.01539, allocations: 1.048 MB / 332 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.0154, allocations: 0 / 332 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.0154, allocations: 0 / 332 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.01541, allocations: 0 / 332 MB, free: 0.7344 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001321/0.01673, allocations: 1.156 MB / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.01676, allocations: 11.98 kB / 333.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005376/0.0173, allocations: 220.7 kB / 333.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.01786, allocations: 0.5069 MB / 333.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.01804, allocations: 325.8 kB / 334.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.01817, allocations: 88.72 kB / 334.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008112/0.01898, allocations: 0.7993 MB / 335.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.019, allocations: 8 kB / 335.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.01906, allocations: 32 kB / 335.2 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.543e-05/0.01914, allocations: 61.97 kB / 335.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.0196, allocations: 352.4 kB / 335.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.0227, allocations: 3.435 MB / 339 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.02324, allocations: 408.4 kB / 339.4 MB, free: 9.035 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.02348, allocations: 198 kB / 339.6 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.02352, allocations: 12.66 kB / 339.6 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.02355, allocations: 39.22 kB / 339.6 MB, free: 8.773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 1.783e-06/0.02355, allocations: 0 / 339.6 MB, free: 8.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.001574/0.02512, allocations: 1.029 MB / 340.7 MB, free: 7.711 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.02516, allocations: 85.77 kB / 340.8 MB, free: 7.609 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.02536, allocations: 363.1 kB / 341.1 MB, free: 7.238 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.0254, allocations: 37.7 kB / 341.2 MB, free: 7.195 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.02555, allocations: 369.2 kB / 341.5 MB, free: 6.828 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.02569, allocations: 269.7 kB / 341.8 MB, free: 6.562 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.02583, allocations: 142.5 kB / 341.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.02595, allocations: 370.7 kB / 342.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.0261, allocations: 124.8 kB / 342.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.02633, allocations: 299.9 kB / 342.7 MB, free: 5.559 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/0.02676, allocations: 0.4917 MB / 343.2 MB, free: 4.988 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.02677, allocations: 4 kB / 343.2 MB, free: 4.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001328/0.0281, allocations: 0.7927 MB / 344 MB, free: 4.176 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.02811, allocations: 11.98 kB / 344 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009484/0.02906, allocations: 0.5795 MB / 344.6 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.03009, allocations: 482.6 kB / 345 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.03036, allocations: 135.8 kB / 345.2 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/0.03373, allocations: 3.949 MB / 349.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.03396, allocations: 40.03 kB / 349.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.034, allocations: 28 kB / 349.2 MB, free: 14.77 MB / 330.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.0001701/0.03417, allocations: 144.5 kB / 349.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.03428, allocations: 67.94 kB / 349.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005637/0.03484, allocations: 475.9 kB / 349.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.03485, allocations: 15.94 kB / 349.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.03486, allocations: 0 / 349.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.03487, allocations: 7.984 kB / 349.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.03617, allocations: 1.077 MB / 351 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.03617, allocations: 0 / 351 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009196/0.03709, allocations: 367.6 kB / 351.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.384e-05/0.03714, allocations: 28.78 kB / 351.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.03718, allocations: 16 kB / 351.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006177/0.0378, allocations: 1.458 MB / 352.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.0378, allocations: 0 / 352.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007355/0.03853, allocations: 0.7258 MB / 353.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.03858, allocations: 55.61 kB / 353.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.03863, allocations: 15.94 kB / 353.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.03881, allocations: 36 kB / 353.7 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.03891, allocations: 52.56 kB / 353.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.03893, allocations: 16 kB / 353.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.03905, allocations: 140.7 kB / 353.9 MB, free: 9.891 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03905, allocations: 0 / 353.9 MB, free: 9.891 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005013/0.03955, allocations: 235.9 kB / 354.1 MB, free: 9.66 MB / 330.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.0001701/0.03972, allocations: 110 kB / 354.2 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008287/0.04055, allocations: 0.7771 MB / 355 MB, free: 8.742 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.04056, allocations: 11.94 kB / 355 MB, free: 8.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007662/0.04132, allocations: 0.5159 MB / 355.5 MB, free: 8.199 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.04173, allocations: 155.6 kB / 355.7 MB, free: 8.055 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.04384, allocations: 1.658 MB / 357.3 MB, free: 6.344 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.04401, allocations: 247.2 kB / 357.6 MB, free: 6.082 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.0442, allocations: 77.2 kB / 357.6 MB, free: 6.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.04447, allocations: 169.3 kB / 357.8 MB, free: 5.84 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.04447, allocations: 0 / 357.8 MB, free: 5.84 MB / 330.7 MB Notification: Performance of Templates: time 0.01336/0.05783, allocations: 12.78 MB / 370.6 MB, free: 9.219 MB / 346.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: 3.6090673110447824]