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.001645/0.001645, allocations: 85.33 kB / 20.68 MB, free: 1.023 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.001514/0.001514, allocations: 168 kB / 23.96 MB, free: 4.148 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.405/1.405, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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.1893/0.1893, allocations: 29.44 MB / 290.1 MB, free: 3.293 MB / 270.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: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.137e-05, allocations: 6.219 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.00877/0.008802, allocations: 6.434 MB / 437.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004121/0.01292, allocations: 2.04 MB / 439.2 MB, free: 9.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003555/0.01328, allocations: 31.75 kB / 439.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.01488, allocations: 0.5192 MB / 439.8 MB, free: 8.867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.01618, allocations: 0.571 MB / 440.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.01722, allocations: 386.9 kB / 440.7 MB, free: 7.914 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.01887, allocations: 1.333 MB / 442 MB, free: 6.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009073/0.01978, allocations: 0.5332 MB / 442.6 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.02098, allocations: 0.7558 MB / 443.3 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.02201, allocations: 0.6547 MB / 444 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.02218, allocations: 100 kB / 444.1 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009395/0.02312, allocations: 0.5265 MB / 444.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005459/0.02366, allocations: 494.8 kB / 445.1 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004943/0.02416, allocations: 379.2 kB / 445.5 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.02601, allocations: 1.539 MB / 447 MB, free: 1.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.02602, allocations: 4 kB / 447 MB, free: 1.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.02602, allocations: 0 / 447 MB, free: 1.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.02603, allocations: 0 / 447 MB, free: 1.59 MB / 366.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.002801/0.02883, allocations: 1.295 MB / 448.3 MB, free: 268 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.02887, allocations: 11.97 kB / 448.3 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009506/0.02982, allocations: 192.2 kB / 448.5 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.166/0.1959, allocations: 0.6053 MB / 449.1 MB, free: 30.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.1961, allocations: 331.4 kB / 449.4 MB, free: 29.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/0.1963, allocations: 96.42 kB / 449.5 MB, free: 29.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.1984, allocations: 1.359 MB / 450.9 MB, free: 29.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.1985, allocations: 7.062 kB / 450.9 MB, free: 29.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/0.1986, allocations: 35.39 kB / 450.9 MB, free: 29.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.1987, allocations: 61.72 kB / 451 MB, free: 29.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.201, allocations: 1.294 MB / 452.3 MB, free: 28.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00659/0.2076, allocations: 4.487 MB / 456.8 MB, free: 26.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.2099, allocations: 1.013 MB / 457.8 MB, free: 25.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.2113, allocations: 0.5807 MB / 458.4 MB, free: 25.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.878e-05/0.2113, allocations: 9.172 kB / 458.4 MB, free: 25.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.2114, allocations: 44.33 kB / 458.4 MB, free: 25.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 6.082e-06/0.2114, allocations: 5.562 kB / 458.4 MB, free: 25.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.006361/0.2177, allocations: 2.958 MB / 461.4 MB, free: 24.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.2178, allocations: 85.59 kB / 461.5 MB, free: 24.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004689/0.2183, allocations: 419.3 kB / 461.9 MB, free: 24.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.328e-05/0.2183, allocations: 36.86 kB / 461.9 MB, free: 23.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.2185, allocations: 412.1 kB / 462.3 MB, free: 23.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.2186, allocations: 266.6 kB / 462.6 MB, free: 23.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.2189, allocations: 146.2 kB / 462.7 MB, free: 23.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/0.2189, allocations: 373.1 kB / 463.1 MB, free: 23.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008972/0.2198, allocations: 0.4968 MB / 463.6 MB, free: 22.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009456/0.2208, allocations: 0.6784 MB / 464.2 MB, free: 22.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/0.2227, allocations: 1.222 MB / 465.5 MB, free: 21.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2227, allocations: 2.625 kB / 465.5 MB, free: 21.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004579/0.2273, allocations: 1.893 MB / 467.4 MB, free: 21.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.2273, allocations: 8.125 kB / 467.4 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00387/0.2312, allocations: 1.625 MB / 469 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.233, allocations: 0.6465 MB / 469.6 MB, free: 20.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006073/0.2336, allocations: 155.2 kB / 469.8 MB, free: 20.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.2436, allocations: 7.095 MB / 476.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/0.2444, allocations: 71.91 kB / 477 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.2445, allocations: 35.98 kB / 477 MB, free: 15.07 MB / 366.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.0004282/0.2449, allocations: 306.4 kB / 477.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.245, allocations: 59.62 kB / 477.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.2469, allocations: 1.23 MB / 478.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.247, allocations: 14.5 kB / 478.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.247, allocations: 0 / 478.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.247, allocations: 11.31 kB / 478.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/0.2502, allocations: 2.083 MB / 480.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2502, allocations: 0 / 480.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/0.2527, allocations: 0.4915 MB / 481.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.71e-05/0.2528, allocations: 40.78 kB / 481.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.2528, allocations: 15.98 kB / 481.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007199/0.2536, allocations: 1.505 MB / 482.7 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2536, allocations: 0 / 482.7 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.2561, allocations: 1.934 MB / 484.7 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.2562, allocations: 47.62 kB / 484.7 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.879e-05/0.2563, allocations: 16.62 kB / 484.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004924/0.2568, allocations: 65.31 kB / 484.8 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.257, allocations: 60.55 kB / 484.9 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.257, allocations: 23.98 kB / 484.9 MB, free: 7.012 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.2572, allocations: 271.1 kB / 485.1 MB, free: 6.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2572, allocations: 0 / 485.1 MB, free: 6.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008529/0.2581, allocations: 239.9 kB / 485.4 MB, free: 6.516 MB / 366.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.0002049/0.2583, allocations: 127.9 kB / 485.5 MB, free: 6.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002311/0.2606, allocations: 1.528 MB / 487 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2606, allocations: 4 kB / 487 MB, free: 4.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.263, allocations: 0.9632 MB / 488 MB, free: 3.855 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.2637, allocations: 127.3 kB / 488.1 MB, free: 3.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.2667, allocations: 2.104 MB / 490.2 MB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.267, allocations: 489.5 kB / 490.7 MB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003925/0.2674, allocations: 201.1 kB / 490.9 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.2676, allocations: 52.48 kB / 491 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2676, allocations: 0 / 491 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of Templates: time 0.02062/0.2882, allocations: 11.9 MB / 0.4911 GB, free: 5.09 MB / 382.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/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: 5.299277164041996]