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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 104.5 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 195 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 251.4 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1799/0.1799, allocations: 38.52 MB / 345 MB, free: 2.66 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,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=502,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: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.89 kB / 482.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.309, allocations: 61.24 MB / 0.5309 GB, free: 5.473 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.00504/0.3141, allocations: 4.493 MB / 0.5353 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.3161, allocations: 1.519 MB / 0.5368 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.3163, allocations: 13.56 kB / 0.5368 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007752/0.3171, allocations: 296.4 kB / 0.5371 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004868/0.3175, allocations: 288.4 kB / 0.5374 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.3181, allocations: 247.9 kB / 0.5376 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004895/0.3185, allocations: 0.6074 MB / 0.5382 GB, free: 332 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.3188, allocations: 188.2 kB / 0.5384 GB, free: 220 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.3191, allocations: 267.8 kB / 0.5386 GB, free: 68 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005062/0.3196, allocations: 398.5 kB / 0.539 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.007e-05/0.3197, allocations: 42.28 kB / 0.5391 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.3201, allocations: 232.3 kB / 0.5393 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.3203, allocations: 233.4 kB / 0.5395 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.3206, allocations: 258.9 kB / 0.5398 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008034/0.3214, allocations: 0.6677 MB / 0.5404 GB, free: 14.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3214, allocations: 0 / 0.5404 GB, free: 14.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3214, allocations: 0 / 0.5404 GB, free: 14.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.3214, allocations: 0 / 0.5404 GB, free: 14.98 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.001404/0.3228, allocations: 0.7884 MB / 0.5412 GB, free: 14.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3229, allocations: 13.08 kB / 0.5412 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005913/0.3235, allocations: 93.66 kB / 0.5413 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006931/0.3242, allocations: 429.7 kB / 0.5417 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.3242, allocations: 30.77 kB / 0.5417 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.3243, allocations: 53.34 kB / 0.5418 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.3254, allocations: 0.6968 MB / 0.5425 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.3254, allocations: 1.375 kB / 0.5425 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.3254, allocations: 16.7 kB / 0.5425 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/0.3256, allocations: 67.14 kB / 0.5425 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000982/0.3266, allocations: 0.6693 MB / 0.5432 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/0.3302, allocations: 2.653 MB / 0.5458 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.3308, allocations: 296.8 kB / 0.5461 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.3311, allocations: 199.3 kB / 0.5463 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.3311, allocations: 2.469 kB / 0.5463 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.3311, allocations: 36.84 kB / 0.5463 GB, free: 10.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.214e-06/0.3311, allocations: 0 / 0.5463 GB, free: 10.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002158/0.3333, allocations: 1.311 MB / 0.5476 GB, free: 9.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.3334, allocations: 81.05 kB / 0.5476 GB, free: 9.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.3337, allocations: 290.7 kB / 0.5479 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.3337, allocations: 31.14 kB / 0.548 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.3339, allocations: 256.3 kB / 0.5482 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.334, allocations: 140.2 kB / 0.5483 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.3341, allocations: 90.41 kB / 0.5484 GB, free: 9.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.3343, allocations: 352.3 kB / 0.5488 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.3346, allocations: 192.2 kB / 0.5489 GB, free: 8.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.3349, allocations: 325 kB / 0.5492 GB, free: 8.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/0.3357, allocations: 0.5599 MB / 0.5498 GB, free: 8.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3357, allocations: 6.188 kB / 0.5498 GB, free: 8.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001212/0.3369, allocations: 0.6702 MB / 0.5505 GB, free: 7.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3369, allocations: 7.688 kB / 0.5505 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008383/0.3377, allocations: 489.3 kB / 0.5509 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.3381, allocations: 114 kB / 0.551 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.3384, allocations: 86.33 kB / 0.5511 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.3416, allocations: 3.258 MB / 0.5543 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.3419, allocations: 35.84 kB / 0.5543 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.3419, allocations: 12 kB / 0.5543 GB, free: 3.871 MB / 398.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.0003074/0.3422, allocations: 213.8 kB / 0.5546 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-05/0.3423, allocations: 35.95 kB / 0.5546 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007609/0.3431, allocations: 468.9 kB / 0.555 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.3431, allocations: 11.98 kB / 0.555 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.3431, allocations: 0 / 0.555 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3431, allocations: 7.922 kB / 0.5551 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.3446, allocations: 1.023 MB / 0.5561 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3446, allocations: 0 / 0.5561 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.3449, allocations: 67.83 kB / 0.5561 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.3449, allocations: 7.938 kB / 0.5561 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.345, allocations: 11.98 kB / 0.5561 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.345, allocations: 0 / 0.5561 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.345, allocations: 4 kB / 0.5561 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.3461, allocations: 0.7554 MB / 0.5569 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.3462, allocations: 140.8 kB / 0.557 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.3463, allocations: 11.94 kB / 0.557 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.3465, allocations: 15.97 kB / 0.557 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.3465, allocations: 15.98 kB / 0.5571 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.3466, allocations: 15.98 kB / 0.5571 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.3468, allocations: 207.1 kB / 0.5573 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3468, allocations: 0 / 0.5573 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005386/0.3473, allocations: 108 kB / 0.5574 GB, free: 0.6523 MB / 398.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.0002332/0.3475, allocations: 139 kB / 0.5575 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.3486, allocations: 0.6819 MB / 0.5582 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3486, allocations: 0 / 0.5582 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.3489, allocations: 196.7 kB / 0.5584 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.3494, allocations: 71.48 kB / 0.5584 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.3513, allocations: 1.188 MB / 0.5596 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/0.3518, allocations: 0.8746 MB / 0.5604 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.3519, allocations: 31.44 kB / 0.5605 GB, free: 13.38 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3519, allocations: 0 / 0.5605 GB, free: 13.38 MB / 414.1 MB Notification: Performance of Templates: time 0.01066/0.3626, allocations: 7.032 MB / 0.5673 GB, free: 6.348 MB / 414.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