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.001121/0.001121, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001078/0.001078, allocations: 166.2 kB / 25 MB, free: 8.352 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2422/0.2422, allocations: 29.41 MB / 291.2 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.325e-06/2.325e-06, allocations: 4 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.73e-05, allocations: 2.312 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.005665/0.005683, allocations: 6.858 MB / 376.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.008008, allocations: 2.118 MB / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.008255, allocations: 35.69 kB / 378.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008727/0.009128, allocations: 0.517 MB / 379.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007019/0.00983, allocations: 0.5711 MB / 379.7 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.01034, allocations: 386.9 kB / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008412/0.01118, allocations: 1.333 MB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005287/0.01171, allocations: 0.5333 MB / 382 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008914/0.0126, allocations: 0.7597 MB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005687/0.01317, allocations: 0.6742 MB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.5e-05/0.01326, allocations: 100 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.01378, allocations: 0.5225 MB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.01409, allocations: 0.491 MB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.01437, allocations: 387.2 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008361/0.01521, allocations: 1.083 MB / 386 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.01521, allocations: 0 / 386 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.01521, allocations: 0 / 386 MB, free: 10.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.01522, allocations: 4 kB / 386 MB, free: 10.9 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.001575/0.0168, allocations: 1.395 MB / 387.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.01683, allocations: 11.98 kB / 387.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006348/0.01747, allocations: 276.1 kB / 387.7 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007245/0.01819, allocations: 0.635 MB / 388.3 MB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.01836, allocations: 325.9 kB / 388.6 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.0185, allocations: 92.69 kB / 388.7 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.0197, allocations: 0.8911 MB / 389.6 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.01972, allocations: 4 kB / 389.6 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.995e-05/0.01978, allocations: 39.97 kB / 389.6 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.968e-05/0.01987, allocations: 65.92 kB / 389.7 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.02058, allocations: 491.4 kB / 390.2 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.02413, allocations: 4.695 MB / 394.9 MB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006703/0.0248, allocations: 453.7 kB / 395.3 MB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.02517, allocations: 264 kB / 395.6 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.59e-05/0.02521, allocations: 16.66 kB / 395.6 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.02524, allocations: 42.05 kB / 395.6 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.264e-06/0.02525, allocations: 0 / 395.6 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.002397/0.02764, allocations: 1.511 MB / 397.1 MB, free: 15.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.02768, allocations: 89.7 kB / 397.2 MB, free: 15.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.02797, allocations: 450.5 kB / 397.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.02802, allocations: 33.7 kB / 397.7 MB, free: 14.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.02821, allocations: 455.1 kB / 398.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.02836, allocations: 281.8 kB / 398.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.02853, allocations: 156.3 kB / 398.6 MB, free: 13.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.02868, allocations: 0.5469 MB / 399.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.02893, allocations: 169.9 kB / 399.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.0293, allocations: 446.9 kB / 399.7 MB, free: 12.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/0.02994, allocations: 0.6414 MB / 400.4 MB, free: 11.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.02995, allocations: 0 / 400.4 MB, free: 11.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001567/0.03151, allocations: 1.062 MB / 401.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.03153, allocations: 11.94 kB / 401.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001226/0.03275, allocations: 0.7696 MB / 402.2 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.03379, allocations: 0.5106 MB / 402.7 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.03409, allocations: 163.7 kB / 402.9 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/0.03833, allocations: 5.281 MB / 408.2 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.0386, allocations: 67.98 kB / 408.2 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.03864, allocations: 35.98 kB / 408.3 MB, free: 3.617 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.0001805/0.03883, allocations: 200.3 kB / 408.5 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.03894, allocations: 87.62 kB / 408.5 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007927/0.03973, allocations: 0.6004 MB / 409.1 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.03975, allocations: 12 kB / 409.2 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.03975, allocations: 7.938 kB / 409.2 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.03976, allocations: 7.984 kB / 409.2 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.04132, allocations: 1.392 MB / 410.6 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.04132, allocations: 0 / 410.6 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.04236, allocations: 399.6 kB / 411 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/0.04256, allocations: 39.69 kB / 411 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/0.04271, allocations: 16 kB / 411 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.04376, allocations: 2 MB / 413 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.04376, allocations: 4 kB / 413 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.04502, allocations: 0.9419 MB / 414 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/0.04509, allocations: 55.62 kB / 414 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.04515, allocations: 20.05 kB / 414 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.04542, allocations: 55.92 kB / 414.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.04555, allocations: 72.47 kB / 414.2 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.04559, allocations: 19.98 kB / 414.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.04577, allocations: 275.1 kB / 414.4 MB, free: 13.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04577, allocations: 0 / 414.4 MB, free: 13.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006767/0.04645, allocations: 235.9 kB / 414.7 MB, free: 12.96 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.0002227/0.04667, allocations: 139 kB / 414.8 MB, free: 12.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.04801, allocations: 1.033 MB / 415.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.04802, allocations: 0 / 415.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009568/0.04897, allocations: 0.6239 MB / 416.5 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.04948, allocations: 136.2 kB / 416.6 MB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.05216, allocations: 1.806 MB / 418.4 MB, free: 9.105 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.05235, allocations: 251.2 kB / 418.6 MB, free: 8.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003285/0.05267, allocations: 157.1 kB / 418.8 MB, free: 8.688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.05281, allocations: 56.48 kB / 418.9 MB, free: 8.633 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.05282, allocations: 0 / 418.9 MB, free: 8.633 MB / 394.7 MB Notification: Performance of Templates: time 0.01473/0.06754, allocations: 12.07 MB / 430.9 MB, free: 12.68 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: 3.9215822550468147]