Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001802/0.001802, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001951/0.001951, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.514/1.514, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.3168/0.3168, allocations: 29.42 MB / 290.5 MB, free: 2.414 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.Impedance,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.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,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.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.445e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.01005/0.01008, allocations: 4.475 MB / 373.4 MB, free: 6.797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004899/0.01498, allocations: 1.406 MB / 374.8 MB, free: 5.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.01537, allocations: 19.88 kB / 374.8 MB, free: 5.367 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.01708, allocations: 382.2 kB / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009188/0.018, allocations: 242.5 kB / 375.4 MB, free: 4.754 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.01908, allocations: 271.1 kB / 375.7 MB, free: 4.488 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009815/0.02007, allocations: 0.5649 MB / 376.2 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006077/0.02067, allocations: 250.7 kB / 376.5 MB, free: 3.676 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008532/0.02153, allocations: 354.9 kB / 376.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006459/0.02217, allocations: 303.2 kB / 377.1 MB, free: 3.031 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.02234, allocations: 32 kB / 377.1 MB, free: 3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.02281, allocations: 147.7 kB / 377.3 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003928/0.02321, allocations: 243.3 kB / 377.5 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004147/0.02362, allocations: 175.6 kB / 377.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.02508, allocations: 0.6036 MB / 378.3 MB, free: 1.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.02509, allocations: 4 kB / 378.3 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.02509, allocations: 0 / 378.3 MB, free: 1.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.505e-05/0.02513, allocations: 0 / 378.3 MB, free: 1.836 MB / 346.7 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.002329/0.02745, allocations: 0.7017 MB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.02751, allocations: 15.98 kB / 379 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000947/0.02846, allocations: 176.4 kB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000782/0.02924, allocations: 367.9 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.02928, allocations: 29.38 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.02944, allocations: 52.73 kB / 379.6 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.03054, allocations: 0.649 MB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.03056, allocations: 3.938 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.03062, allocations: 23.98 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.03074, allocations: 28.98 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008559/0.0316, allocations: 479.5 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004087/0.03569, allocations: 2.791 MB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.03605, allocations: 169 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.03623, allocations: 98.08 kB / 383.9 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.03628, allocations: 11.95 kB / 383.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.03631, allocations: 38.56 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.03632, allocations: 0 / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001624/0.03794, allocations: 0.7764 MB / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/0.03803, allocations: 81.11 kB / 384.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.03847, allocations: 365.4 kB / 385.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.03851, allocations: 25.7 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.03879, allocations: 311.8 kB / 385.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.168e-05/0.03888, allocations: 83.33 kB / 385.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.03904, allocations: 82.14 kB / 385.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.03925, allocations: 350.9 kB / 386 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.03948, allocations: 128.9 kB / 386.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.03996, allocations: 327.5 kB / 386.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.04069, allocations: 0.4886 MB / 386.9 MB, free: 8.688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.04069, allocations: 0 / 386.9 MB, free: 8.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001256/0.04195, allocations: 0.5915 MB / 387.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.04197, allocations: 12 kB / 387.5 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006005/0.04257, allocations: 267.5 kB / 387.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.04307, allocations: 96.77 kB / 387.9 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.04343, allocations: 91.83 kB / 387.9 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.04564, allocations: 1.608 MB / 389.6 MB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.04593, allocations: 16 kB / 389.6 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.04597, allocations: 27.98 kB / 389.6 MB, free: 5.871 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003259/0.0463, allocations: 209.6 kB / 389.8 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.401e-05/0.04639, allocations: 51.69 kB / 389.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005738/0.04696, allocations: 288.6 kB / 390.1 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.04697, allocations: 4 kB / 390.1 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.04697, allocations: 0 / 390.1 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.04698, allocations: 3.984 kB / 390.1 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.04824, allocations: 0.6667 MB / 390.8 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.04825, allocations: 0 / 390.8 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.04857, allocations: 63.89 kB / 390.9 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.04857, allocations: 4.062 kB / 390.9 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.0486, allocations: 4 kB / 390.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.0486, allocations: 0 / 390.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.0486, allocations: 4 kB / 390.9 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/0.04931, allocations: 486.3 kB / 391.4 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.04937, allocations: 31.77 kB / 391.4 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.04941, allocations: 8 kB / 391.4 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.04959, allocations: 12.03 kB / 391.4 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.04963, allocations: 15.97 kB / 391.4 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.04965, allocations: 8 kB / 391.4 MB, free: 3.953 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000292/0.04995, allocations: 239.2 kB / 391.7 MB, free: 3.719 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04995, allocations: 0 / 391.7 MB, free: 3.719 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005356/0.05048, allocations: 95.94 kB / 391.8 MB, free: 3.625 MB / 362.7 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 (24): * Single equations (assignments): 23 * 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.0001661/0.05065, allocations: 107.2 kB / 391.9 MB, free: 3.508 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008546/0.0515, allocations: 440.4 kB / 392.3 MB, free: 3.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.0515, allocations: 0 / 392.3 MB, free: 3.066 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.05171, allocations: 107.8 kB / 392.4 MB, free: 2.961 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.05223, allocations: 79.28 kB / 392.5 MB, free: 2.891 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.05399, allocations: 0.9183 MB / 393.4 MB, free: 1.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.05433, allocations: 265.7 kB / 393.7 MB, free: 1.652 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000293/0.05462, allocations: 115.2 kB / 393.8 MB, free: 1.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.05473, allocations: 28.5 kB / 393.8 MB, free: 1.508 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.05473, allocations: 0 / 393.8 MB, free: 1.508 MB / 362.7 MB Notification: Performance of Templates: time 0.008971/0.0637, allocations: 3.589 MB / 397.4 MB, free: 13.98 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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: 4.818128580111079]