Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001247/0.001247, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001236/0.002483, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009296/0.0009296, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009122/0.001842, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.903/0.903, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07795/0.9809, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1148/0.1148, allocations: 29.44 MB / 273.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1129/0.2277, allocations: 9.532 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 284.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.349e-05, allocations: 3.438 kB / 284.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003606/0.003619, allocations: 2.331 MB / 286.6 MB, free: 10 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.005779, allocations: 1.982 MB / 288.6 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.005821, allocations: 0 / 288.6 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.933e-05/0.00588, allocations: 14.11 kB / 288.6 MB, free: 8.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.774e-05/0.005948, allocations: 26.59 kB / 288.6 MB, free: 8.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.007524, allocations: 0.8748 MB / 289.5 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.007631, allocations: 80.3 kB / 289.6 MB, free: 7.887 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.164e-05/0.007663, allocations: 11.72 kB / 289.6 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.007778, allocations: 62.75 kB / 289.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.007837, allocations: 34.58 kB / 289.7 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.669e-06/0.007847, allocations: 2.75 kB / 289.7 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.009891, allocations: 1.841 MB / 291.5 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.00993, allocations: 31.58 kB / 291.5 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.009957, allocations: 15.47 kB / 291.6 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.01114, allocations: 1.279 MB / 292.8 MB, free: 6.113 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.01115, allocations: 0 / 292.8 MB, free: 6.113 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01115, allocations: 2.312 kB / 292.8 MB, free: 6.113 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.01116, allocations: 0 / 292.8 MB, free: 6.113 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005165/0.01168, allocations: 0.5494 MB / 293.4 MB, free: 5.629 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.605e-05/0.0117, allocations: 8.031 kB / 293.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.01174, allocations: 8.922 kB / 293.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.01186, allocations: 156.5 kB / 293.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-06/0.01186, allocations: 384 / 293.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.01187, allocations: 3.938 kB / 293.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.01198, allocations: 114 kB / 293.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.01199, allocations: 0 / 293.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.012, allocations: 4 kB / 293.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.012, allocations: 0 / 293.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.487e-05/0.01205, allocations: 69.67 kB / 293.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.882e-05/0.0121, allocations: 71.77 kB / 293.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.368e-05/0.01217, allocations: 96.19 kB / 293.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.01221, allocations: 70.58 kB / 294 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-06/0.01221, allocations: 0 / 294 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.01223, allocations: 38.56 kB / 294 MB, free: 4.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 5.51e-07/0.01223, allocations: 0 / 294 MB, free: 4.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002123/0.01244, allocations: 298.6 kB / 294.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.01247, allocations: 59.39 kB / 294.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.01253, allocations: 141.5 kB / 294.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.01254, allocations: 25.7 kB / 294.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/0.01257, allocations: 96.64 kB / 294.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.01261, allocations: 71.33 kB / 294.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.01264, allocations: 33.69 kB / 294.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.01271, allocations: 326.8 kB / 295 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/0.01276, allocations: 84.36 kB / 295.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.01304, allocations: 68.12 kB / 295.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.01314, allocations: 173.8 kB / 295.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.01314, allocations: 4 kB / 295.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001289/0.01327, allocations: 206 kB / 295.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.01331, allocations: 65.59 kB / 295.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.01332, allocations: 64 / 295.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/0.01332, allocations: 4 kB / 295.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.867e-06/0.01333, allocations: 0 / 295.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-06/0.01333, allocations: 0 / 295.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.01337, allocations: 19.88 kB / 295.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.01339, allocations: 8 kB / 295.7 MB, free: 3.137 MB / 282.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.922e-05/0.01347, allocations: 170.3 kB / 295.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.01349, allocations: 19.98 kB / 295.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.464e-05/0.0135, allocations: 17.16 kB / 295.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.12e-07/0.0135, allocations: 0 / 295.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.0135, allocations: 0 / 295.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.01351, allocations: 4 kB / 295.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.944e-05/0.01356, allocations: 97.75 kB / 296 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.01357, allocations: 0 / 296 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.01357, allocations: 0 / 296 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.01358, allocations: 19.83 kB / 296 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.01358, allocations: 0 / 296 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.01359, allocations: 7.938 kB / 296 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.01359, allocations: 0 / 296 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01359, allocations: 4 kB / 296 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.0138, allocations: 315.1 kB / 296.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.01381, allocations: 4 kB / 296.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.01383, allocations: 8.031 kB / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.01385, allocations: 15.92 kB / 296.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01386, allocations: 4 kB / 296.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.199e-05/0.01388, allocations: 34.31 kB / 296.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01388, allocations: 0 / 296.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004939/0.01437, allocations: 339.4 kB / 296.7 MB, free: 2.027 MB / 282.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.0005786/0.01495, allocations: 419.1 kB / 297.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.01515, allocations: 295.5 kB / 297.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.01516, allocations: 0 / 297.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.642e-05/0.01525, allocations: 197.7 kB / 297.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.01536, allocations: 24.77 kB / 297.6 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008662/0.01622, allocations: 420.8 kB / 298 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.01626, allocations: 79.31 kB / 298.1 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.127e-05/0.01627, allocations: 4 kB / 298.1 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.01636, allocations: 75.38 kB / 298.2 MB, free: 452 kB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01636, allocations: 4 kB / 298.2 MB, free: 448 kB / 282.7 MB Notification: Performance of Templates: time 0.008431/0.02479, allocations: 8.173 MB / 306.4 MB, free: 8.281 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.8637533420696855]