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.001345/0.001345, 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.001601/0.001601, allocations: 210 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.549/1.549, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2896/0.2896, allocations: 38.55 MB / 353.2 MB, free: 12.43 MB / 286.1 MB " [Timeout remaining time 179] 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: 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.002318/0.002318, allocations: 71.89 kB / 493.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3196, allocations: 62.47 MB / 0.5432 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006603/0.3262, allocations: 4.471 MB / 0.5475 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.3289, allocations: 1.41 MB / 0.5489 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.3291, allocations: 20.72 kB / 0.5489 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.3302, allocations: 371 kB / 0.5493 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005564/0.3307, allocations: 235 kB / 0.5495 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.3315, allocations: 264.1 kB / 0.5498 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007212/0.3322, allocations: 0.5561 MB / 0.5503 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004647/0.3327, allocations: 247.7 kB / 0.5505 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004757/0.3332, allocations: 271.4 kB / 0.5508 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005124/0.3337, allocations: 323 kB / 0.5511 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.283e-05/0.3337, allocations: 38.53 kB / 0.5511 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.3341, allocations: 155 kB / 0.5513 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.3343, allocations: 238.4 kB / 0.5515 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.3346, allocations: 202.8 kB / 0.5517 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008045/0.3354, allocations: 0.6131 MB / 0.5523 GB, free: 9.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3354, allocations: 0 / 0.5523 GB, free: 9.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3354, allocations: 0 / 0.5523 GB, free: 9.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.3354, allocations: 1.188 kB / 0.5523 GB, free: 9.73 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.001476/0.3369, allocations: 0.7199 MB / 0.553 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.337, allocations: 13.73 kB / 0.553 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000849/0.3378, allocations: 123.2 kB / 0.5531 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007419/0.3385, allocations: 350.1 kB / 0.5535 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.3386, allocations: 39.11 kB / 0.5535 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.3387, allocations: 52.14 kB / 0.5536 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009736/0.3397, allocations: 0.6458 MB / 0.5542 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.3397, allocations: 5.078 kB / 0.5542 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.3398, allocations: 18.28 kB / 0.5542 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.3399, allocations: 32.45 kB / 0.5543 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007604/0.3406, allocations: 479 kB / 0.5547 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003561/0.3442, allocations: 2.786 MB / 0.5574 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.3445, allocations: 175.1 kB / 0.5576 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.3447, allocations: 97.67 kB / 0.5577 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.3447, allocations: 8 kB / 0.5577 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3448, allocations: 34.55 kB / 0.5577 GB, free: 5.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.3448, allocations: 0 / 0.5577 GB, free: 5.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001482/0.3462, allocations: 0.7762 MB / 0.5585 GB, free: 4.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.3463, allocations: 85.05 kB / 0.5586 GB, free: 4.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.3467, allocations: 357.4 kB / 0.5589 GB, free: 3.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.3468, allocations: 33.7 kB / 0.5589 GB, free: 3.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.347, allocations: 307.8 kB / 0.5592 GB, free: 3.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.671e-05/0.3471, allocations: 83.31 kB / 0.5593 GB, free: 3.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.3472, allocations: 86.08 kB / 0.5594 GB, free: 3.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3474, allocations: 342.8 kB / 0.5597 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.3476, allocations: 128.8 kB / 0.5598 GB, free: 2.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/0.348, allocations: 330.9 kB / 0.5602 GB, free: 2.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006221/0.3487, allocations: 0.4933 MB / 0.5606 GB, free: 1.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3487, allocations: 0 / 0.5606 GB, free: 1.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001061/0.3497, allocations: 0.5682 MB / 0.5612 GB, free: 1.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3498, allocations: 8 kB / 0.5612 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005495/0.3503, allocations: 282.6 kB / 0.5615 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003788/0.3507, allocations: 84.72 kB / 0.5616 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.351, allocations: 95.83 kB / 0.5616 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.353, allocations: 1.581 MB / 0.5632 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.3533, allocations: 28.02 kB / 0.5632 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.3533, allocations: 27.98 kB / 0.5632 GB, free: 14.96 MB / 414.1 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.0002937/0.3536, allocations: 219 kB / 0.5635 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.3537, allocations: 31.81 kB / 0.5635 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005333/0.3542, allocations: 288.6 kB / 0.5638 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3542, allocations: 4 kB / 0.5638 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.3542, allocations: 0 / 0.5638 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3542, allocations: 0 / 0.5638 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.3554, allocations: 0.6752 MB / 0.5644 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3554, allocations: 0 / 0.5644 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.3557, allocations: 55.91 kB / 0.5645 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.056e-06/0.3557, allocations: 7.984 kB / 0.5645 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.3558, allocations: 12 kB / 0.5645 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3558, allocations: 0 / 0.5645 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3558, allocations: 0 / 0.5645 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.3564, allocations: 491.5 kB / 0.565 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.3564, allocations: 27.88 kB / 0.565 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.3565, allocations: 8 kB / 0.565 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.3567, allocations: 12.03 kB / 0.565 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.3567, allocations: 19.91 kB / 0.565 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3567, allocations: 8 kB / 0.565 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002515/0.357, allocations: 231.2 kB / 0.5653 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.357, allocations: 0 / 0.5653 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005114/0.3575, allocations: 100 kB / 0.5654 GB, free: 12.73 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 (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.000125/0.3576, allocations: 99.19 kB / 0.5654 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007856/0.3584, allocations: 443.7 kB / 0.5659 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3584, allocations: 0 / 0.5659 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.3586, allocations: 104.3 kB / 0.566 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.3591, allocations: 82.3 kB / 0.566 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.3608, allocations: 1.045 MB / 0.5671 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.3611, allocations: 270 kB / 0.5673 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/0.3612, allocations: 27.44 kB / 0.5674 GB, free: 10.6 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3612, allocations: 0 / 0.5674 GB, free: 10.6 MB / 414.1 MB Notification: Performance of Templates: time 0.00936/0.3706, allocations: 5.921 MB / 0.5731 GB, free: 4.668 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins1/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: 8.439254092983902]