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.0009133/0.0009133, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008554/0.0008554, allocations: 170 kB / 23.95 MB, free: 0.6094 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 0.9594/0.9594, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2578/0.2578, allocations: 29.4 MB / 290.1 MB, free: 2.445 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.392e-05/3.645e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006996/0.007033, allocations: 6.438 MB / 436.7 MB, free: 7.125 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003927/0.01096, allocations: 2.044 MB / 438.7 MB, free: 5.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000659/0.01162, allocations: 35.69 kB / 438.7 MB, free: 5.039 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.01293, allocations: 0.5239 MB / 439.3 MB, free: 4.516 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.01416, allocations: 0.5634 MB / 439.8 MB, free: 3.949 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008333/0.01499, allocations: 386.9 kB / 440.2 MB, free: 3.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.01652, allocations: 1.337 MB / 441.5 MB, free: 2.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000786/0.01731, allocations: 0.5333 MB / 442.1 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.01837, allocations: 0.7519 MB / 442.8 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000952/0.01932, allocations: 0.6508 MB / 443.5 MB, free: 284 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.01947, allocations: 103.9 kB / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1883/0.2078, allocations: 0.5269 MB / 444.1 MB, free: 44.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005376/0.2083, allocations: 494.2 kB / 444.6 MB, free: 44.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004457/0.2087, allocations: 380.5 kB / 445 MB, free: 44.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.2101, allocations: 1.542 MB / 446.5 MB, free: 44.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2101, allocations: 0 / 446.5 MB, free: 44.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.2101, allocations: 0 / 446.5 MB, free: 44.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.2101, allocations: 0 / 446.5 MB, free: 44.35 MB / 410.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.001633/0.2117, allocations: 1.291 MB / 447.8 MB, free: 43.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.2118, allocations: 16.83 kB / 447.8 MB, free: 43.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.2119, allocations: 147.3 kB / 447.9 MB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005017/0.2124, allocations: 186.4 kB / 448.1 MB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007528/0.2131, allocations: 0.6119 MB / 448.7 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.2133, allocations: 334.6 kB / 449.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.2134, allocations: 88.16 kB / 449.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.2147, allocations: 1.365 MB / 450.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.2148, allocations: 6.688 kB / 450.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.2148, allocations: 35.48 kB / 450.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.504e-05/0.2149, allocations: 60.08 kB / 450.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2162, allocations: 1.295 MB / 451.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/0.2199, allocations: 4.633 MB / 456.5 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.2211, allocations: 1.007 MB / 457.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.2216, allocations: 0.5801 MB / 458.1 MB, free: 40.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.2217, allocations: 10.16 kB / 458.1 MB, free: 40.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.2217, allocations: 41.94 kB / 458.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=72): time 3.086e-06/0.2217, allocations: 4 kB / 458.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=73): time 0.003476/0.2252, allocations: 2.968 MB / 461.2 MB, free: 38.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.2252, allocations: 90.7 kB / 461.2 MB, free: 38.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.2256, allocations: 477.8 kB / 461.7 MB, free: 38.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.2256, allocations: 33.7 kB / 461.7 MB, free: 38.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.2257, allocations: 405.5 kB / 462.1 MB, free: 38.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2258, allocations: 261.6 kB / 462.4 MB, free: 37.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.226, allocations: 147.7 kB / 462.5 MB, free: 37.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.226, allocations: 375.2 kB / 462.9 MB, free: 37.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.2265, allocations: 0.497 MB / 463.4 MB, free: 37.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/0.2271, allocations: 0.6846 MB / 464.1 MB, free: 37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.2281, allocations: 1.216 MB / 465.3 MB, free: 36.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2282, allocations: 0 / 465.3 MB, free: 36.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002214/0.2304, allocations: 1.902 MB / 467.2 MB, free: 35.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2304, allocations: 8.031 kB / 467.2 MB, free: 35.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001883/0.2323, allocations: 1.62 MB / 468.8 MB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000997/0.2333, allocations: 0.6529 MB / 469.5 MB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.2336, allocations: 156.4 kB / 469.6 MB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00596/0.2396, allocations: 7.139 MB / 476.8 MB, free: 31.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005407/0.2401, allocations: 80.88 kB / 476.9 MB, free: 31.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.2402, allocations: 31.97 kB / 476.9 MB, free: 31.07 MB / 410.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.0004318/0.2406, allocations: 307.5 kB / 477.2 MB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.2407, allocations: 65.45 kB / 477.3 MB, free: 30.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.242, allocations: 1.223 MB / 478.5 MB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.242, allocations: 12.34 kB / 478.5 MB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.242, allocations: 6.094 kB / 478.5 MB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.242, allocations: 6.188 kB / 478.5 MB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/0.2447, allocations: 2.206 MB / 480.7 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2447, allocations: 2.125 kB / 480.7 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/0.2461, allocations: 0.489 MB / 481.2 MB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.632e-05/0.2461, allocations: 37.11 kB / 481.2 MB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.2462, allocations: 18.12 kB / 481.2 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006438/0.2468, allocations: 1.519 MB / 482.8 MB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2468, allocations: 5.062 kB / 482.8 MB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.2491, allocations: 1.933 MB / 484.7 MB, free: 27.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.2493, allocations: 64.33 kB / 484.8 MB, free: 27.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.2493, allocations: 21.05 kB / 484.8 MB, free: 27.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.2496, allocations: 60.75 kB / 484.8 MB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.2497, allocations: 65.7 kB / 484.9 MB, free: 27.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.2497, allocations: 17.75 kB / 484.9 MB, free: 27.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002802/0.25, allocations: 321.3 kB / 485.2 MB, free: 26.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.25, allocations: 1.375 kB / 485.2 MB, free: 26.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007968/0.2508, allocations: 236.8 kB / 485.5 MB, free: 26.9 MB / 410.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.002248/0.2531, allocations: 2.501 MB / 488 MB, free: 25.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.2551, allocations: 1.514 MB / 489.5 MB, free: 24.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2551, allocations: 3.281 kB / 489.5 MB, free: 24.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.2566, allocations: 0.9686 MB / 490.5 MB, free: 24.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.2573, allocations: 163.7 kB / 490.6 MB, free: 24.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.2693, allocations: 9.14 MB / 499.8 MB, free: 20.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/0.2699, allocations: 473.6 kB / 0.4885 GB, free: 20.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006096/0.2705, allocations: 213.4 kB / 0.4887 GB, free: 20.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.2708, allocations: 287.7 kB / 0.489 GB, free: 20.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/0.2708, allocations: 0 / 0.489 GB, free: 20.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.3046, allocations: 21.03 MB / 0.5095 GB, free: 6.066 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.232/8.536, allocations: 19.3 kB / 0.5095 GB, free: 6.051 MB / 410.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] 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: 10.920776198618114]