Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.0009785/0.0009785, 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.0009056/0.0009056, 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.008/1.008, allocations: 177.1 MB / 205 MB, free: 5.621 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.2572/0.2572, allocations: 29.42 MB / 290.9 MB, free: 2.43 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_matrixEqCirc0,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_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,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_matrixEqCirc0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.577e-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_matrixEqCirc0): time 0.005279/0.005295, allocations: 2.206 MB / 371.9 MB, free: 8.738 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007003/0.005995, allocations: 0.5493 MB / 372.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.006037, allocations: 0 / 372.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.006205, allocations: 23.84 kB / 372.4 MB, free: 8.164 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.895e-05/0.006294, allocations: 23.83 kB / 372.5 MB, free: 8.141 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.006599, allocations: 79.75 kB / 372.5 MB, free: 8.062 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.006717, allocations: 59.77 kB / 372.6 MB, free: 8.004 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.006754, allocations: 4 kB / 372.6 MB, free: 8 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.006888, allocations: 43.81 kB / 372.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.006937, allocations: 31.89 kB / 372.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.006946, allocations: 0 / 372.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.007111, allocations: 95.73 kB / 372.8 MB, free: 7.832 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.00715, allocations: 11.94 kB / 372.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.007172, allocations: 11.98 kB / 372.8 MB, free: 7.809 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.00734, allocations: 107.6 kB / 372.9 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.007342, allocations: 4 kB / 372.9 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.007343, allocations: 0 / 372.9 MB, free: 7.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.007347, allocations: 0 / 372.9 MB, free: 7.699 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003336/0.007681, allocations: 410.1 kB / 373.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.007724, allocations: 15.98 kB / 373.3 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.007764, allocations: 0.9375 kB / 373.3 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.0079, allocations: 128.5 kB / 373.4 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.007909, allocations: 384 / 373.4 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.00792, allocations: 12.25 kB / 373.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.008022, allocations: 67.95 kB / 373.5 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.008031, allocations: 7.938 kB / 373.5 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.008039, allocations: 0 / 373.5 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.008046, allocations: 0 / 373.5 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.289e-05/0.008079, allocations: 45.69 kB / 373.6 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.00819, allocations: 116.6 kB / 373.7 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.891e-05/0.008249, allocations: 64.75 kB / 373.8 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.549e-05/0.008284, allocations: 53.36 kB / 373.8 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-06/0.008288, allocations: 0 / 373.8 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.008313, allocations: 37.38 kB / 373.8 MB, free: 6.602 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 7.61e-07/0.008314, allocations: 0 / 373.8 MB, free: 6.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002027/0.008516, allocations: 170.9 kB / 374 MB, free: 6.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.008556, allocations: 89.14 kB / 374.1 MB, free: 6.305 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/0.008656, allocations: 177.9 kB / 374.3 MB, free: 6.113 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.008667, allocations: 25.7 kB / 374.3 MB, free: 6.082 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.00898, allocations: 134.9 kB / 374.4 MB, free: 5.945 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.009011, allocations: 27.75 kB / 374.5 MB, free: 5.918 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.009038, allocations: 31.3 kB / 374.5 MB, free: 5.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.009138, allocations: 0.4884 MB / 375 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.009166, allocations: 41.69 kB / 375 MB, free: 5.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.92e-05/0.009185, allocations: 37.7 kB / 375 MB, free: 5.289 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.324e-05/0.009239, allocations: 91.08 kB / 375.1 MB, free: 5.184 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.00924, allocations: 4.031 kB / 375.1 MB, free: 5.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.003e-05/0.009331, allocations: 133 kB / 375.3 MB, free: 5.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.009362, allocations: 41.69 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.009367, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.009381, allocations: 3.938 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-06/0.009387, allocations: 3.984 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.009392, allocations: 3.938 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.009409, allocations: 4 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.009421, allocations: 0 / 375.3 MB, free: 4.969 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.622e-05/0.009498, allocations: 202.2 kB / 375.5 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.009509, allocations: 15.98 kB / 375.5 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.087e-06/0.009518, allocations: 4.438 kB / 375.5 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.009521, allocations: 7.875 kB / 375.6 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.009524, allocations: 0 / 375.6 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.009527, allocations: 0 / 375.6 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.024e-05/0.009587, allocations: 128.6 kB / 375.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.009589, allocations: 4 kB / 375.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.00959, allocations: 0 / 375.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.00959, allocations: 0 / 375.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.009598, allocations: 4 kB / 375.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009599, allocations: 0 / 375.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.009602, allocations: 11.92 kB / 375.7 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.009728, allocations: 192.1 kB / 375.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.009737, allocations: 7.953 kB / 375.9 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.009747, allocations: 3.938 kB / 375.9 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-06/0.009755, allocations: 4 kB / 375.9 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.00977, allocations: 11.92 kB / 375.9 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.009775, allocations: 4 kB / 375.9 MB, free: 4.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.531e-05/0.00981, allocations: 127.2 kB / 376 MB, free: 4.172 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00981, allocations: 0 / 376 MB, free: 4.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001473/0.009958, allocations: 31.92 kB / 376.1 MB, free: 4.141 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.0001312/0.01009, allocations: 119.2 kB / 376.2 MB, free: 4.012 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.01023, allocations: 170.5 kB / 376.4 MB, free: 3.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01023, allocations: 0 / 376.4 MB, free: 3.816 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.193e-05/0.01028, allocations: 120.8 kB / 376.5 MB, free: 3.676 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.01042, allocations: 15.09 kB / 376.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.0107, allocations: 215.6 kB / 376.7 MB, free: 3.418 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/0.01074, allocations: 67.45 kB / 376.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.173e-05/0.01075, allocations: 4 kB / 376.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/0.01077, allocations: 8.5 kB / 376.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/0.01077, allocations: 0 / 376.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of Templates: time 0.002813/0.01358, allocations: 1.257 MB / 378 MB, free: 2.074 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.886908508837223]