Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.001116/0.001116, 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.001247/0.001247, allocations: 172.2 kB / 24.82 MB, free: 9.312 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 1.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2556/0.2556, allocations: 29.42 MB / 291.2 MB, free: 2.449 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_matrixTrDat1,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_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,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_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.882e-05, allocations: 2.312 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002348/0.002367, allocations: 2.258 MB / 372.4 MB, free: 8.418 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.00473, allocations: 1.938 MB / 374.3 MB, free: 6.469 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.004779, allocations: 0 / 374.3 MB, free: 6.469 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.004916, allocations: 19.78 kB / 374.3 MB, free: 6.449 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.265e-05/0.004998, allocations: 31.78 kB / 374.4 MB, free: 6.418 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.006478, allocations: 0.974 MB / 375.4 MB, free: 5.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.667e-05/0.006574, allocations: 79.69 kB / 375.4 MB, free: 5.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.006607, allocations: 4.188 kB / 375.4 MB, free: 5.359 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.006718, allocations: 51.81 kB / 375.5 MB, free: 5.309 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.006777, allocations: 35.89 kB / 375.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.006788, allocations: 0 / 375.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.00844, allocations: 1.894 MB / 377.4 MB, free: 3.375 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.601e-05/0.008476, allocations: 23.92 kB / 377.4 MB, free: 3.352 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.008497, allocations: 11.94 kB / 377.4 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.00958, allocations: 1.504 MB / 379 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.009581, allocations: 0 / 379 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.009582, allocations: 0 / 379 MB, free: 1.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.009585, allocations: 0 / 379 MB, free: 1.832 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.0004309/0.01002, allocations: 0.5475 MB / 379.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.01005, allocations: 15.98 kB / 379.5 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.01009, allocations: 8.891 kB / 379.5 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.0102, allocations: 136.4 kB / 379.7 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.0102, allocations: 3.938 kB / 379.7 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.01021, allocations: 8 kB / 379.7 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.038e-05/0.0103, allocations: 75.38 kB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.01031, allocations: 3.938 kB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-06/0.01032, allocations: 0 / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.01032, allocations: 0 / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.498e-05/0.01035, allocations: 41.7 kB / 379.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.219e-05/0.01043, allocations: 105.2 kB / 379.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.526e-05/0.01048, allocations: 68.75 kB / 380 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/0.01051, allocations: 49.42 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.01052, allocations: 3.938 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.01054, allocations: 41.38 kB / 380 MB, free: 0.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 7.22e-07/0.01054, allocations: 0 / 380 MB, free: 0.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001799/0.01072, allocations: 202.8 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.01075, allocations: 93.09 kB / 380.3 MB, free: 256 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.01083, allocations: 185.9 kB / 380.5 MB, free: 52 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.487e-06/0.01084, allocations: 25.7 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.01088, allocations: 142.9 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.01092, allocations: 39.67 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.01095, allocations: 23.38 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003924/0.01134, allocations: 0.4962 MB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.01137, allocations: 45.69 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.427e-05/0.0114, allocations: 45.72 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.578e-05/0.01146, allocations: 110.3 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.01146, allocations: 4 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000107/0.01157, allocations: 152.9 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.01161, allocations: 52.17 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01161, allocations: 4 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.01162, allocations: 0 / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-06/0.01162, allocations: 3.984 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.01163, allocations: 0 / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.591e-05/0.01166, allocations: 7.938 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.01168, allocations: 8.062 kB / 381.7 MB, free: 14.82 MB / 362.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 8.031e-05/0.01176, allocations: 198.2 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.01177, allocations: 15.89 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.01179, allocations: 12.78 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01179, allocations: 0 / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.01179, allocations: 0 / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.0118, allocations: 0 / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.433e-05/0.01186, allocations: 109.2 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.01186, allocations: 8 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-07/0.01186, allocations: 3.938 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.01186, allocations: 0 / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.01187, allocations: 11.94 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01187, allocations: 3.984 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01187, allocations: 0 / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.01202, allocations: 215.7 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.01203, allocations: 15.84 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.01204, allocations: 3.938 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.687e-05/0.01206, allocations: 4 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.01207, allocations: 4 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.01208, allocations: 7.984 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.956e-05/0.01212, allocations: 143.1 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01212, allocations: 4.031 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004149/0.01254, allocations: 319.4 kB / 382.7 MB, free: 13.69 MB / 362.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.0005762/0.01311, allocations: 409.9 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.01326, allocations: 202.3 kB / 383.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01327, allocations: 4 kB / 383.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.01333, allocations: 136.3 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.01346, allocations: 20.11 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.01389, allocations: 283.5 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.116e-05/0.01393, allocations: 63.34 kB / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.073e-05/0.01394, allocations: 4 kB / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.01401, allocations: 90.19 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01401, allocations: 0 / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Templates: time 0.008456/0.02247, allocations: 7.727 MB / 391.6 MB, free: 4.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.1758325500413775]