Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.0009439/0.0009439, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009338/0.0009338, allocations: 161 kB / 24.56 MB, free: 16 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.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.2362/0.2362, allocations: 29.43 MB / 290.9 MB, free: 2.48 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.132e-05, allocations: 2.312 kB / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002545/0.002567, allocations: 2.215 MB / 371.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006336/0.0032, allocations: 0.5454 MB / 372.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.003245, allocations: 0 / 372.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.003389, allocations: 11.92 kB / 372.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.003516, allocations: 27.78 kB / 372.5 MB, free: 8.141 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.003821, allocations: 75.81 kB / 372.5 MB, free: 8.066 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.003929, allocations: 63.69 kB / 372.6 MB, free: 8.004 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.003964, allocations: 4 kB / 372.6 MB, free: 8 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.004097, allocations: 39.83 kB / 372.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/0.004143, allocations: 27.91 kB / 372.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.004153, allocations: 0 / 372.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.004309, allocations: 99.72 kB / 372.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.004356, allocations: 19.92 kB / 372.8 MB, free: 7.816 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.00438, allocations: 12 kB / 372.8 MB, free: 7.805 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.004542, allocations: 115.6 kB / 372.9 MB, free: 7.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004545, allocations: 0 / 372.9 MB, free: 7.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004546, allocations: 0 / 372.9 MB, free: 7.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.00455, allocations: 4 kB / 372.9 MB, free: 7.688 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003446/0.004895, allocations: 422 kB / 373.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.004931, allocations: 11.98 kB / 373.3 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.004975, allocations: 8.891 kB / 373.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.005114, allocations: 128.5 kB / 373.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.005122, allocations: 384 / 373.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.005133, allocations: 8.312 kB / 373.5 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.005236, allocations: 79.95 kB / 373.6 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.005243, allocations: 3.938 kB / 373.6 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.005251, allocations: 0 / 373.6 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.005259, allocations: 0 / 373.6 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.006e-05/0.005289, allocations: 45.69 kB / 373.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.005392, allocations: 124.6 kB / 373.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.765e-05/0.00545, allocations: 68.77 kB / 373.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.005483, allocations: 57.34 kB / 373.8 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-06/0.005486, allocations: 0 / 373.8 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.005509, allocations: 33.39 kB / 373.9 MB, free: 6.559 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 7.71e-07/0.00551, allocations: 4 kB / 373.9 MB, free: 6.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002015/0.005711, allocations: 202.8 kB / 374.1 MB, free: 6.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.005752, allocations: 93.09 kB / 374.2 MB, free: 6.223 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.005829, allocations: 173.3 kB / 374.3 MB, free: 6.039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.005839, allocations: 29.7 kB / 374.4 MB, free: 6.004 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.00588, allocations: 138.9 kB / 374.5 MB, free: 5.863 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.005917, allocations: 39.64 kB / 374.5 MB, free: 5.824 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.005946, allocations: 27.36 kB / 374.6 MB, free: 5.789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.006058, allocations: 0.4961 MB / 375.1 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.00609, allocations: 45.7 kB / 375.1 MB, free: 5.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.006117, allocations: 45.69 kB / 375.2 MB, free: 5.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.673e-05/0.006193, allocations: 111.1 kB / 375.3 MB, free: 5.055 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006196, allocations: 0 / 375.3 MB, free: 5.055 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001031/0.006299, allocations: 148.9 kB / 375.4 MB, free: 4.891 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.006333, allocations: 53.67 kB / 375.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.006338, allocations: 0 / 375.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.006351, allocations: 3.938 kB / 375.5 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-06/0.006354, allocations: 0 / 375.5 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.006358, allocations: 0 / 375.5 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.006375, allocations: 7.938 kB / 375.5 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.006391, allocations: 4 kB / 375.5 MB, free: 4.816 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.719e-05/0.006489, allocations: 206.3 kB / 375.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.006501, allocations: 11.95 kB / 375.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.827e-06/0.00651, allocations: 4.438 kB / 375.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.006513, allocations: 7.938 kB / 375.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.006516, allocations: 0 / 375.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006519, allocations: 3.984 kB / 375.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.674e-05/0.006586, allocations: 132.5 kB / 375.8 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006586, allocations: 0 / 375.8 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-06/0.006588, allocations: 4 kB / 375.8 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006589, allocations: 0 / 375.8 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.006599, allocations: 7.984 kB / 375.9 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.0066, allocations: 4 kB / 375.9 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.006602, allocations: 3.938 kB / 375.9 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.006765, allocations: 231.3 kB / 376.1 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.006774, allocations: 3.953 kB / 376.1 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.006788, allocations: 4 kB / 376.1 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.006799, allocations: 7.938 kB / 376.1 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.006818, allocations: 3.938 kB / 376.1 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.006823, allocations: 4 kB / 376.1 MB, free: 4.109 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.621e-05/0.006869, allocations: 135.2 kB / 376.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00687, allocations: 0 / 376.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.007036, allocations: 35.97 kB / 376.3 MB, free: 3.941 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0001331/0.007169, allocations: 115.2 kB / 376.4 MB, free: 3.816 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.007334, allocations: 202.4 kB / 376.6 MB, free: 3.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.007336, allocations: 0 / 376.6 MB, free: 3.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.572e-05/0.007401, allocations: 144.7 kB / 376.7 MB, free: 3.426 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.007542, allocations: 10.92 kB / 376.7 MB, free: 3.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.007845, allocations: 260.1 kB / 377 MB, free: 3.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.422e-05/0.007889, allocations: 71.33 kB / 377.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.433e-05/0.007903, allocations: 0 / 377.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.24e-05/0.007916, allocations: 8.5 kB / 377.1 MB, free: 3.027 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007916, allocations: 0 / 377.1 MB, free: 3.027 MB / 346.7 MB Notification: Performance of Templates: time 0.002977/0.01089, allocations: 1.511 MB / 378.6 MB, free: 1.527 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.029953384771943]