Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.001966/0.001966, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002276/0.002276, allocations: 209 kB / 24.48 MB, free: 3.938 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.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.758 MB / 206.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.1853/0.1853, allocations: 38.55 MB / 353.2 MB, free: 12.3 MB / 286.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.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 67.89 kB / 493.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2983, allocations: 62.46 MB / 0.5432 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006375/0.3046, allocations: 4.314 MB / 0.5474 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.3073, allocations: 1.468 MB / 0.5488 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.3075, allocations: 19.97 kB / 0.5488 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000919/0.3084, allocations: 291.2 kB / 0.5491 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006453/0.309, allocations: 284.3 kB / 0.5494 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007185/0.3097, allocations: 251.1 kB / 0.5496 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007791/0.3105, allocations: 0.6184 MB / 0.5502 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.3109, allocations: 189.4 kB / 0.5504 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004554/0.3113, allocations: 285.8 kB / 0.5507 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005586/0.3119, allocations: 383.4 kB / 0.551 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.312, allocations: 38.81 kB / 0.5511 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004764/0.3124, allocations: 224.5 kB / 0.5513 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.3127, allocations: 240.5 kB / 0.5515 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.3129, allocations: 207.8 kB / 0.5517 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008002/0.3137, allocations: 0.6869 MB / 0.5524 GB, free: 9.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3137, allocations: 3.938 kB / 0.5524 GB, free: 9.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3137, allocations: 1.406 kB / 0.5524 GB, free: 9.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3138, allocations: 0 / 0.5524 GB, free: 9.676 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001479/0.3152, allocations: 0.702 MB / 0.5531 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3153, allocations: 21.22 kB / 0.5531 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007807/0.3161, allocations: 125.6 kB / 0.5532 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000771/0.3168, allocations: 363.4 kB / 0.5536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.3169, allocations: 32.39 kB / 0.5536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.317, allocations: 41.09 kB / 0.5536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.3181, allocations: 0.697 MB / 0.5543 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.3181, allocations: 1.062 kB / 0.5543 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/0.3181, allocations: 15.22 kB / 0.5543 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002133/0.3184, allocations: 68.41 kB / 0.5544 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.3194, allocations: 0.6674 MB / 0.555 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003707/0.3231, allocations: 2.403 MB / 0.5574 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005046/0.3236, allocations: 297.2 kB / 0.5577 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.3239, allocations: 193.7 kB / 0.5579 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.324, allocations: 4 kB / 0.5579 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.324, allocations: 34.56 kB / 0.5579 GB, free: 4.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.054e-06/0.324, allocations: 0 / 0.5579 GB, free: 4.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002086/0.3261, allocations: 1.237 MB / 0.5591 GB, free: 3.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.3262, allocations: 85.11 kB / 0.5592 GB, free: 3.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.3265, allocations: 280.1 kB / 0.5595 GB, free: 3.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.3265, allocations: 33.7 kB / 0.5595 GB, free: 3.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.3267, allocations: 264.1 kB / 0.5597 GB, free: 2.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.3268, allocations: 146.8 kB / 0.5599 GB, free: 2.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.327, allocations: 82.09 kB / 0.56 GB, free: 2.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3271, allocations: 346.8 kB / 0.5603 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.3274, allocations: 184.8 kB / 0.5605 GB, free: 2.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.3279, allocations: 332.9 kB / 0.5608 GB, free: 1.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008163/0.3287, allocations: 0.5507 MB / 0.5613 GB, free: 1.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3287, allocations: 3.938 kB / 0.5613 GB, free: 1.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00137/0.33, allocations: 0.6781 MB / 0.562 GB, free: 460 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3301, allocations: 8 kB / 0.562 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001005/0.3311, allocations: 491.5 kB / 0.5625 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004331/0.3315, allocations: 110 kB / 0.5626 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.3318, allocations: 87.81 kB / 0.5627 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/0.3349, allocations: 3.002 MB / 0.5656 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.3351, allocations: 23.98 kB / 0.5656 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.3352, allocations: 24.12 kB / 0.5656 GB, free: 12.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002728/0.3355, allocations: 209.6 kB / 0.5658 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.958e-05/0.3356, allocations: 31.77 kB / 0.5659 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000781/0.3363, allocations: 472.5 kB / 0.5663 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.3364, allocations: 11.98 kB / 0.5663 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.3364, allocations: 0 / 0.5663 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3364, allocations: 4 kB / 0.5663 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.3379, allocations: 0.894 MB / 0.5672 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3379, allocations: 4 kB / 0.5672 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.3382, allocations: 67.89 kB / 0.5673 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.3382, allocations: 4 kB / 0.5673 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.3383, allocations: 8.141 kB / 0.5673 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3383, allocations: 0 / 0.5673 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3383, allocations: 0 / 0.5673 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.3393, allocations: 0.7518 MB / 0.568 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.3395, allocations: 67.83 kB / 0.5681 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.3395, allocations: 8 kB / 0.5681 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.3397, allocations: 19.98 kB / 0.5681 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.3398, allocations: 23.89 kB / 0.5681 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.3398, allocations: 8 kB / 0.5681 GB, free: 9.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.34, allocations: 195.1 kB / 0.5683 GB, free: 9.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.34, allocations: 0 / 0.5683 GB, free: 9.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005184/0.3405, allocations: 115.9 kB / 0.5684 GB, free: 9.543 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002269/0.3407, allocations: 135.1 kB / 0.5686 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.3418, allocations: 0.6817 MB / 0.5692 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3418, allocations: 1.125 kB / 0.5692 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.3421, allocations: 195.8 kB / 0.5694 GB, free: 8.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.3426, allocations: 74.77 kB / 0.5695 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.3445, allocations: 1.182 MB / 0.5706 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.3448, allocations: 269.8 kB / 0.5709 GB, free: 6.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.3449, allocations: 35.44 kB / 0.5709 GB, free: 6.895 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3449, allocations: 0 / 0.5709 GB, free: 6.895 MB / 414.1 MB Notification: Performance of Templates: time 0.01049/0.3554, allocations: 7.153 MB / 0.5779 GB, free: 15.73 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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: 8.75971053307876]