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.0009148/0.0009148, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001138/0.001138, allocations: 166 kB / 24.82 MB, free: 9.266 MB / 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 0.9831/0.9831, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2675/0.2675, allocations: 29.42 MB / 291.2 MB, free: 2.438 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.413e-06/1.413e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.239e-05, allocations: 2.312 kB / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002544/0.002567, allocations: 2.219 MB / 372.3 MB, free: 8.473 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006336/0.0032, allocations: 0.5337 MB / 372.9 MB, free: 7.938 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.003242, allocations: 0 / 372.9 MB, free: 7.938 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.003366, allocations: 19.91 kB / 372.9 MB, free: 7.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.003474, allocations: 23.78 kB / 372.9 MB, free: 7.895 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.003782, allocations: 75.75 kB / 373 MB, free: 7.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.00389, allocations: 67.69 kB / 373.1 MB, free: 7.754 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.003928, allocations: 3.984 kB / 373.1 MB, free: 7.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.004073, allocations: 35.91 kB / 373.1 MB, free: 7.715 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.004119, allocations: 27.89 kB / 373.1 MB, free: 7.688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.004128, allocations: 4 kB / 373.1 MB, free: 7.684 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.004297, allocations: 103.7 kB / 373.2 MB, free: 7.582 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.807e-05/0.004335, allocations: 19.92 kB / 373.3 MB, free: 7.562 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.004352, allocations: 7.984 kB / 373.3 MB, free: 7.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.004517, allocations: 111.7 kB / 373.4 MB, free: 7.445 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.00452, allocations: 0 / 373.4 MB, free: 7.445 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004521, allocations: 0 / 373.4 MB, free: 7.445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.004524, allocations: 0 / 373.4 MB, free: 7.445 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.0003156/0.004839, allocations: 433.9 kB / 373.8 MB, free: 6.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.004874, allocations: 11.98 kB / 373.8 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.004902, allocations: 8.891 kB / 373.8 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.005007, allocations: 124.5 kB / 373.9 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-06/0.005015, allocations: 4.375 kB / 373.9 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.005022, allocations: 4.375 kB / 373.9 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.209e-05/0.005104, allocations: 67.95 kB / 374 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.005111, allocations: 3.938 kB / 374 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-06/0.005116, allocations: 4 kB / 374 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.005121, allocations: 0 / 374 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.603e-05/0.005147, allocations: 45.64 kB / 374.1 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.318e-05/0.00523, allocations: 109.2 kB / 374.2 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.806e-05/0.005278, allocations: 68.75 kB / 374.2 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.005307, allocations: 53.42 kB / 374.3 MB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-06/0.005311, allocations: 3.984 kB / 374.3 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.005338, allocations: 37.39 kB / 374.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 8.12e-07/0.005338, allocations: 0 / 374.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001798/0.005518, allocations: 202.3 kB / 374.5 MB, free: 6.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.005552, allocations: 89.05 kB / 374.6 MB, free: 6.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.005635, allocations: 177.9 kB / 374.8 MB, free: 5.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.005644, allocations: 25.7 kB / 374.8 MB, free: 5.789 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.005681, allocations: 134.9 kB / 374.9 MB, free: 5.652 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.005717, allocations: 43.61 kB / 375 MB, free: 5.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.005746, allocations: 27.38 kB / 375 MB, free: 5.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.005852, allocations: 0.4923 MB / 375.5 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/0.00588, allocations: 45.72 kB / 375.5 MB, free: 5.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.005903, allocations: 41.7 kB / 375.6 MB, free: 4.973 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.313e-05/0.005966, allocations: 111 kB / 375.7 MB, free: 4.848 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.005967, allocations: 3.938 kB / 375.7 MB, free: 4.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001071/0.006075, allocations: 144.2 kB / 375.8 MB, free: 4.688 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.00611, allocations: 49.67 kB / 375.9 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.006114, allocations: 0 / 375.9 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.006124, allocations: 0 / 375.9 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.934e-06/0.006126, allocations: 3.938 kB / 375.9 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.006129, allocations: 0 / 375.9 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.006146, allocations: 4 kB / 375.9 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.006158, allocations: 8.062 kB / 375.9 MB, free: 4.617 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 7.854e-05/0.006236, allocations: 206.2 kB / 376.1 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.00625, allocations: 11.95 kB / 376.1 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.405e-05/0.006264, allocations: 8.438 kB / 376.1 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006265, allocations: 0 / 376.1 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.006267, allocations: 3.938 kB / 376.1 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.00627, allocations: 0 / 376.1 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.462e-05/0.006334, allocations: 113.1 kB / 376.2 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006335, allocations: 0 / 376.2 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-07/0.006336, allocations: 0 / 376.2 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.006339, allocations: 8 kB / 376.2 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.006344, allocations: 0 / 376.2 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.006346, allocations: 3.984 kB / 376.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.006346, allocations: 3.938 kB / 376.3 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.006502, allocations: 219.6 kB / 376.5 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.006511, allocations: 3.953 kB / 376.5 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.006521, allocations: 4 kB / 376.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.035e-05/0.006531, allocations: 4 kB / 376.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-06/0.006541, allocations: 0 / 376.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.006549, allocations: 12 kB / 376.5 MB, free: 3.953 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.152e-05/0.00659, allocations: 139.1 kB / 376.6 MB, free: 3.816 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00659, allocations: 4.031 kB / 376.6 MB, free: 3.812 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001517/0.006742, allocations: 31.94 kB / 376.7 MB, free: 3.781 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.0001345/0.006876, allocations: 111.2 kB / 376.8 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.007028, allocations: 194.4 kB / 377 MB, free: 3.441 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007029, allocations: 0 / 377 MB, free: 3.441 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.125e-05/0.0071, allocations: 148.7 kB / 377.1 MB, free: 3.273 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.00725, allocations: 12 kB / 377.1 MB, free: 3.262 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.007551, allocations: 244.2 kB / 377.4 MB, free: 2.984 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.199e-05/0.007583, allocations: 63.34 kB / 377.4 MB, free: 2.902 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.621e-05/0.007599, allocations: 7.984 kB / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.099e-05/0.00769, allocations: 98.12 kB / 377.5 MB, free: 2.797 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.00769, allocations: 0 / 377.5 MB, free: 2.797 MB / 346.7 MB Notification: Performance of Templates: time 0.003677/0.01137, allocations: 1.505 MB / 379 MB, free: 1.316 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: 2.9210073640570045]