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.001778/0.001778, 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.002396/0.002396, 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.1919/0.1919, allocations: 38.56 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.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.002158/0.002158, allocations: 67.89 kB / 493.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3196, allocations: 62.47 MB / 0.5432 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006212/0.3258, allocations: 4.384 MB / 0.5474 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002922/0.3287, allocations: 1.464 MB / 0.5489 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.3291, allocations: 23.72 kB / 0.5489 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009301/0.33, allocations: 285.9 kB / 0.5492 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007088/0.3307, allocations: 265.7 kB / 0.5494 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007594/0.3315, allocations: 268.9 kB / 0.5497 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007714/0.3322, allocations: 0.6341 MB / 0.5503 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004396/0.3327, allocations: 249.3 kB / 0.5505 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005105/0.3332, allocations: 301.4 kB / 0.5508 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006116/0.3338, allocations: 408.5 kB / 0.5512 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.9e-05/0.3339, allocations: 41.22 kB / 0.5513 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.3342, allocations: 158.9 kB / 0.5514 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.3345, allocations: 246.6 kB / 0.5516 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.3348, allocations: 232 kB / 0.5519 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008359/0.3356, allocations: 0.6722 MB / 0.5525 GB, free: 9.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3356, allocations: 4 kB / 0.5525 GB, free: 9.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3356, allocations: 0 / 0.5525 GB, free: 9.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.3356, allocations: 1.125 kB / 0.5525 GB, free: 9.586 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.001952/0.3376, allocations: 0.8194 MB / 0.5533 GB, free: 8.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3376, allocations: 13.67 kB / 0.5533 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007591/0.3384, allocations: 125.4 kB / 0.5535 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.3395, allocations: 437.8 kB / 0.5539 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.3395, allocations: 34.36 kB / 0.5539 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.3397, allocations: 63.69 kB / 0.554 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.3407, allocations: 0.6823 MB / 0.5546 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.3407, allocations: 2.25 kB / 0.5546 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-05/0.3408, allocations: 24.55 kB / 0.5547 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.3409, allocations: 36.16 kB / 0.5547 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000861/0.3418, allocations: 0.5237 MB / 0.5552 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003931/0.3457, allocations: 2.87 MB / 0.558 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.3463, allocations: 305.2 kB / 0.5583 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.3466, allocations: 165.7 kB / 0.5585 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.3466, allocations: 8 kB / 0.5585 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3467, allocations: 43 kB / 0.5585 GB, free: 4.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/0.3467, allocations: 3.938 kB / 0.5585 GB, free: 4.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002103/0.3488, allocations: 1.152 MB / 0.5596 GB, free: 2.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.3488, allocations: 81.11 kB / 0.5597 GB, free: 2.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/0.3493, allocations: 405.4 kB / 0.5601 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.3493, allocations: 29.7 kB / 0.5601 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.3496, allocations: 304 kB / 0.5604 GB, free: 2.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.3497, allocations: 123 kB / 0.5605 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.3498, allocations: 106.4 kB / 0.5606 GB, free: 1.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.35, allocations: 350.8 kB / 0.561 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.3503, allocations: 193.1 kB / 0.5612 GB, free: 1.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.3508, allocations: 382.5 kB / 0.5615 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000807/0.3516, allocations: 0.6046 MB / 0.5621 GB, free: 244 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3516, allocations: 0 / 0.5621 GB, free: 244 kB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001933/0.3535, allocations: 0.8266 MB / 0.5629 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3535, allocations: 11.98 kB / 0.5629 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.3535, allocations: 8 kB / 0.5629 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.3548, allocations: 261.4 kB / 0.5632 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.3554, allocations: 143.9 kB / 0.5633 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00499/0.3604, allocations: 3.772 MB / 0.567 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.3609, allocations: 32.05 kB / 0.567 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.3609, allocations: 27.92 kB / 0.5671 GB, free: 10.93 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.0003141/0.3612, allocations: 225.5 kB / 0.5673 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-05/0.3613, allocations: 39.72 kB / 0.5673 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008526/0.3622, allocations: 488.9 kB / 0.5678 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3622, allocations: 4.094 kB / 0.5678 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.3622, allocations: 3.938 kB / 0.5678 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.3622, allocations: 11.98 kB / 0.5678 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.3636, allocations: 0.8858 MB / 0.5687 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3636, allocations: 0 / 0.5687 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004588/0.3641, allocations: 87.88 kB / 0.5687 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.3641, allocations: 4 kB / 0.5688 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.3641, allocations: 11.98 kB / 0.5688 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.3641, allocations: 4 kB / 0.5688 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3641, allocations: 3.938 kB / 0.5688 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3652, allocations: 0.7436 MB / 0.5695 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3653, allocations: 47.7 kB / 0.5695 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.3653, allocations: 8 kB / 0.5695 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.3656, allocations: 19.92 kB / 0.5696 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.3657, allocations: 27.89 kB / 0.5696 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.3657, allocations: 8.188 kB / 0.5696 GB, free: 8.242 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003036/0.366, allocations: 271.1 kB / 0.5699 GB, free: 7.984 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.366, allocations: 0 / 0.5699 GB, free: 7.984 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005748/0.3666, allocations: 124 kB / 0.57 GB, free: 7.863 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.0001413/0.3667, allocations: 111.2 kB / 0.5701 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.3682, allocations: 0.7829 MB / 0.5708 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3682, allocations: 0 / 0.5708 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.3685, allocations: 183.8 kB / 0.571 GB, free: 6.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.3691, allocations: 80.89 kB / 0.5711 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.3725, allocations: 1.535 MB / 0.5726 GB, free: 5.098 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.3728, allocations: 298.3 kB / 0.5729 GB, free: 4.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.373, allocations: 39.42 kB / 0.5729 GB, free: 4.746 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.373, allocations: 4 kB / 0.5729 GB, free: 4.742 MB / 414.1 MB Notification: Performance of Templates: time 0.01264/0.3856, allocations: 8.201 MB / 0.5809 GB, free: 12.55 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.870593872852623]