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.001973/0.001973, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002109/0.002109, allocations: 169.3 kB / 24.28 MB, free: 152 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.573/1.573, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.322/0.322, allocations: 29.4 MB / 290.5 MB, free: 2.422 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 1.433e-06/1.433e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.764e-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.007531/0.007558, allocations: 4.639 MB / 373.5 MB, free: 6.629 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003006/0.01056, allocations: 1.468 MB / 375 MB, free: 5.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003012/0.01087, allocations: 23.81 kB / 375 MB, free: 5.133 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.01212, allocations: 386.3 kB / 375.4 MB, free: 4.754 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007641/0.01288, allocations: 246.5 kB / 375.6 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008479/0.01373, allocations: 259.1 kB / 375.9 MB, free: 4.258 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008101/0.01454, allocations: 0.5727 MB / 376.5 MB, free: 3.684 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005219/0.01506, allocations: 250.7 kB / 376.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006995/0.01576, allocations: 358.9 kB / 377.1 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006137/0.01637, allocations: 303.2 kB / 377.4 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.667e-05/0.01647, allocations: 32 kB / 377.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.01691, allocations: 147.7 kB / 377.5 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003241/0.01724, allocations: 243.4 kB / 377.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003066/0.01754, allocations: 183.6 kB / 378 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.01875, allocations: 0.6114 MB / 378.6 MB, free: 1.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01876, allocations: 3.938 kB / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01876, allocations: 0 / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.96e-05/0.01879, allocations: 0 / 378.6 MB, free: 1.578 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.001565/0.02035, allocations: 0.8248 MB / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.02039, allocations: 15.98 kB / 379.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008896/0.02128, allocations: 184.4 kB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008124/0.0221, allocations: 366.7 kB / 379.9 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.02213, allocations: 29.38 kB / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.02229, allocations: 52.67 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009539/0.02324, allocations: 0.5376 MB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.02326, allocations: 3.938 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/0.02331, allocations: 23.98 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.02343, allocations: 32.98 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006159/0.02405, allocations: 255.6 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004997/0.02905, allocations: 3.598 MB / 384.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.02942, allocations: 146 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.02957, allocations: 63.42 kB / 384.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.02961, allocations: 4 kB / 384.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.085e-05/0.02967, allocations: 41.31 kB / 384.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.535e-06/0.02968, allocations: 0 / 384.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001891/0.03157, allocations: 0.6211 MB / 385.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.03165, allocations: 81.11 kB / 385.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.03216, allocations: 454.4 kB / 385.9 MB, free: 9.859 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.03219, allocations: 29.83 kB / 385.9 MB, free: 9.824 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.0325, allocations: 374.5 kB / 386.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/0.0326, allocations: 87.31 kB / 386.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.03276, allocations: 99.8 kB / 386.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003085/0.03307, allocations: 0.5313 MB / 387 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.03321, allocations: 68.89 kB / 387 MB, free: 8.648 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.03364, allocations: 363.2 kB / 387.4 MB, free: 8.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/0.03426, allocations: 472.5 kB / 387.9 MB, free: 7.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.03426, allocations: 0 / 387.9 MB, free: 7.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009706/0.03523, allocations: 456.4 kB / 388.3 MB, free: 7.113 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.03526, allocations: 8 kB / 388.3 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004464/0.0357, allocations: 170 kB / 388.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004164/0.03612, allocations: 80.23 kB / 388.6 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.03645, allocations: 95.83 kB / 388.6 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.03839, allocations: 1.893 MB / 390.5 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.03863, allocations: 16 kB / 390.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.03867, allocations: 24.03 kB / 390.6 MB, free: 4.707 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.0002247/0.03889, allocations: 204.3 kB / 390.8 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.03897, allocations: 39.75 kB / 390.8 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.03943, allocations: 220.6 kB / 391 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.03943, allocations: 8 kB / 391 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.03944, allocations: 0 / 391 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/0.03945, allocations: 7.984 kB / 391 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.04073, allocations: 0.7105 MB / 391.8 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.04073, allocations: 0 / 391.8 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.04102, allocations: 47.97 kB / 391.8 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.04103, allocations: 4 kB / 391.8 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.04106, allocations: 11.98 kB / 391.8 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.04106, allocations: 0 / 391.8 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.04106, allocations: 3.938 kB / 391.8 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008307/0.04189, allocations: 443.1 kB / 392.3 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.04195, allocations: 31.83 kB / 392.3 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.042, allocations: 11.98 kB / 392.3 MB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.04216, allocations: 8 kB / 392.3 MB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.04221, allocations: 19.97 kB / 392.3 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.04223, allocations: 4 kB / 392.3 MB, free: 2.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002729/0.0425, allocations: 271 kB / 392.6 MB, free: 2.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0425, allocations: 0 / 392.6 MB, free: 2.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004486/0.04295, allocations: 99.94 kB / 392.7 MB, free: 2.492 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.0001335/0.04308, allocations: 103.2 kB / 392.8 MB, free: 2.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007513/0.04383, allocations: 436.7 kB / 393.2 MB, free: 1.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.04384, allocations: 0 / 393.2 MB, free: 1.934 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.04399, allocations: 88.59 kB / 393.3 MB, free: 1.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.04448, allocations: 68.42 kB / 393.4 MB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.046, allocations: 0.8452 MB / 394.2 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.0463, allocations: 245.7 kB / 394.5 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002544/0.04656, allocations: 103.2 kB / 394.6 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.04664, allocations: 32.48 kB / 394.6 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.04664, allocations: 0 / 394.6 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of Templates: time 0.008934/0.05558, allocations: 3.612 MB / 398.2 MB, free: 12.96 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 240] 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.946806621039286]