Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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.001567/0.001567, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001869/0.001869, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.969 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.1781/0.1781, allocations: 38.53 MB / 353.2 MB, free: 12.53 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.Load,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.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,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.Load") [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.002614/0.002614, allocations: 71.88 kB / 493.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2975, allocations: 62.46 MB / 0.5432 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006958/0.3045, allocations: 4.65 MB / 0.5478 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.3074, allocations: 1.585 MB / 0.5493 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.3077, allocations: 23.94 kB / 0.5493 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009435/0.3086, allocations: 293.7 kB / 0.5496 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000751/0.3094, allocations: 273.1 kB / 0.5499 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.3101, allocations: 263.6 kB / 0.5501 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009149/0.3111, allocations: 0.6401 MB / 0.5508 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005011/0.3116, allocations: 248.1 kB / 0.551 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006285/0.3122, allocations: 302 kB / 0.5513 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007697/0.313, allocations: 419 kB / 0.5517 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.3131, allocations: 42.03 kB / 0.5517 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.3136, allocations: 166.5 kB / 0.5519 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.3139, allocations: 251 kB / 0.5521 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000469/0.3143, allocations: 275.1 kB / 0.5524 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3154, allocations: 0.671 MB / 0.553 GB, free: 9.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3154, allocations: 0 / 0.553 GB, free: 9.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3154, allocations: 0 / 0.553 GB, free: 9.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.401e-05/0.3154, allocations: 0 / 0.553 GB, free: 9.273 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002267/0.3177, allocations: 0.8198 MB / 0.5538 GB, free: 8.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3177, allocations: 14.33 kB / 0.5538 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007275/0.3184, allocations: 125.2 kB / 0.554 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.3195, allocations: 441.5 kB / 0.5544 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.3195, allocations: 38.09 kB / 0.5544 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.3197, allocations: 51.39 kB / 0.5545 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.3207, allocations: 0.6894 MB / 0.5551 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.3207, allocations: 2.156 kB / 0.5551 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.3208, allocations: 20.52 kB / 0.5552 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.3209, allocations: 36.69 kB / 0.5552 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000836/0.3217, allocations: 0.5261 MB / 0.5557 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.3256, allocations: 3.039 MB / 0.5587 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005722/0.3261, allocations: 309.2 kB / 0.559 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.3264, allocations: 161.7 kB / 0.5591 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.3264, allocations: 11.92 kB / 0.5591 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.3265, allocations: 39.06 kB / 0.5592 GB, free: 3.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.3265, allocations: 0 / 0.5592 GB, free: 3.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002081/0.3285, allocations: 1.152 MB / 0.5603 GB, free: 2.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.3286, allocations: 85.11 kB / 0.5604 GB, free: 2.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/0.3291, allocations: 397.5 kB / 0.5608 GB, free: 2.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.3291, allocations: 33.7 kB / 0.5608 GB, free: 2.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.3294, allocations: 304 kB / 0.5611 GB, free: 1.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.3295, allocations: 119 kB / 0.5612 GB, free: 1.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.3296, allocations: 110.4 kB / 0.5613 GB, free: 1.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3298, allocations: 354.7 kB / 0.5616 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.3301, allocations: 189.2 kB / 0.5618 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.3306, allocations: 382.5 kB / 0.5622 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008327/0.3314, allocations: 0.6046 MB / 0.5628 GB, free: 15.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3314, allocations: 7.938 kB / 0.5628 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001979/0.3334, allocations: 0.8112 MB / 0.5636 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.3334, allocations: 14.97 kB / 0.5636 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3334, allocations: 4 kB / 0.5636 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.3347, allocations: 273.3 kB / 0.5639 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.3353, allocations: 135.8 kB / 0.564 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005163/0.3405, allocations: 3.857 MB / 0.5678 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.3409, allocations: 27.98 kB / 0.5678 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/0.341, allocations: 27.98 kB / 0.5678 GB, free: 10.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003297/0.3413, allocations: 217.6 kB / 0.568 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.3414, allocations: 39.77 kB / 0.5681 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008507/0.3423, allocations: 493 kB / 0.5685 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3423, allocations: 4 kB / 0.5685 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3423, allocations: 3.938 kB / 0.5685 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3423, allocations: 7.922 kB / 0.5685 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.3439, allocations: 0.9791 MB / 0.5695 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.344, allocations: 4 kB / 0.5695 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.3444, allocations: 95.88 kB / 0.5696 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.3444, allocations: 4 kB / 0.5696 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.3445, allocations: 11.98 kB / 0.5696 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3445, allocations: 0 / 0.5696 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3445, allocations: 4.188 kB / 0.5696 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.3456, allocations: 0.7473 MB / 0.5703 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.3457, allocations: 43.62 kB / 0.5704 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/0.3458, allocations: 12.06 kB / 0.5704 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.346, allocations: 15.98 kB / 0.5704 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.3461, allocations: 23.95 kB / 0.5704 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.3461, allocations: 11.98 kB / 0.5704 GB, free: 7.641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003161/0.3464, allocations: 267.2 kB / 0.5707 GB, free: 7.383 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3464, allocations: 0 / 0.5707 GB, free: 7.383 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005984/0.347, allocations: 135.9 kB / 0.5708 GB, free: 7.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * Array equations: 0 * 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.0001347/0.3471, allocations: 99.19 kB / 0.5709 GB, free: 7.141 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.3487, allocations: 0.7829 MB / 0.5717 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3487, allocations: 0 / 0.5717 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.349, allocations: 183.8 kB / 0.5719 GB, free: 6.152 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.3496, allocations: 89.7 kB / 0.5719 GB, free: 6.066 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.3531, allocations: 1.527 MB / 0.5734 GB, free: 4.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.3537, allocations: 0.8937 MB / 0.5743 GB, free: 3.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.3538, allocations: 47.42 kB / 0.5744 GB, free: 3.527 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3538, allocations: 0 / 0.5744 GB, free: 3.527 MB / 414.1 MB Notification: Performance of Templates: time 0.01185/0.3657, allocations: 7.99 MB / 0.5822 GB, free: 11.54 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Load.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference: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] Variables in the result: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],time [Calling sys.exit(0), Time elapsed: 8.450925956945866]