Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001541/0.001541, 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.001476/0.001476, allocations: 169 kB / 24.82 MB, free: 9.27 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.122/1.122, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2552/0.2552, allocations: 29.42 MB / 291.2 MB, free: 2.457 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_matrixTrDat0,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_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,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_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.577e-05, allocations: 5.406 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.002509/0.002535, allocations: 2.262 MB / 372.4 MB, free: 8.438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.00477, allocations: 1.93 MB / 374.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.004826, allocations: 0 / 374.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.005002, allocations: 15.86 kB / 374.3 MB, free: 6.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.524e-05/0.005088, allocations: 43.69 kB / 374.4 MB, free: 6.438 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.006777, allocations: 0.974 MB / 375.4 MB, free: 5.461 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.006877, allocations: 71.7 kB / 375.4 MB, free: 5.391 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.006914, allocations: 8.172 kB / 375.4 MB, free: 5.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.007054, allocations: 43.83 kB / 375.5 MB, free: 5.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/0.00713, allocations: 43.88 kB / 375.5 MB, free: 5.297 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.007139, allocations: 0 / 375.5 MB, free: 5.297 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.009391, allocations: 1.894 MB / 377.4 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.009433, allocations: 15.92 kB / 377.4 MB, free: 3.383 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.009463, allocations: 11.94 kB / 377.4 MB, free: 3.371 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.01088, allocations: 1.488 MB / 378.9 MB, free: 1.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.01088, allocations: 0 / 378.9 MB, free: 1.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.01088, allocations: 4 kB / 378.9 MB, free: 1.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.01088, allocations: 0 / 378.9 MB, free: 1.875 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.000439/0.01132, allocations: 0.532 MB / 379.5 MB, free: 1.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.01136, allocations: 15.98 kB / 379.5 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.0114, allocations: 12.89 kB / 379.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.01152, allocations: 128.5 kB / 379.6 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.01152, allocations: 3.938 kB / 379.6 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-06/0.01153, allocations: 0 / 379.6 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.23e-05/0.01161, allocations: 71.39 kB / 379.7 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.01162, allocations: 4 kB / 379.7 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-06/0.01162, allocations: 0 / 379.7 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.01163, allocations: 4 kB / 379.7 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.605e-05/0.01166, allocations: 45.61 kB / 379.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.497e-05/0.01174, allocations: 101.3 kB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.085e-05/0.01179, allocations: 60.75 kB / 379.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.01182, allocations: 49.42 kB / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-06/0.01182, allocations: 3.938 kB / 380 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.01185, allocations: 37.38 kB / 380 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.01185, allocations: 0 / 380 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000164/0.01202, allocations: 174.7 kB / 380.2 MB, free: 480 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.01205, allocations: 81.11 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.01213, allocations: 186 kB / 380.4 MB, free: 176 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.01214, allocations: 25.7 kB / 380.4 MB, free: 144 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.01219, allocations: 138.9 kB / 380.6 MB, free: 0 / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.01224, allocations: 31.86 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.01227, allocations: 23.31 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.01243, allocations: 0.4962 MB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-05/0.01246, allocations: 37.7 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-05/0.01249, allocations: 37.69 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.623e-05/0.01255, allocations: 103.3 kB / 381.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01256, allocations: 0 / 381.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001124/0.01267, allocations: 129 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.01271, allocations: 49.75 kB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01271, allocations: 0 / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.01272, allocations: 0 / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.01273, allocations: 0 / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.01273, allocations: 0 / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.01275, allocations: 4 kB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.01277, allocations: 4 kB / 381.5 MB, free: 15.02 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.219e-05/0.01285, allocations: 198.2 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.01286, allocations: 15.89 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/0.01288, allocations: 8.438 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01288, allocations: 4 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.01288, allocations: 4 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.01289, allocations: 0 / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.056e-05/0.01296, allocations: 101.2 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01296, allocations: 4 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.01296, allocations: 0 / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.01296, allocations: 0 / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.01297, allocations: 7.938 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.11e-07/0.01297, allocations: 3.938 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.01297, allocations: 4 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.01311, allocations: 187.8 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-06/0.01311, allocations: 7.984 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.01312, allocations: 7.938 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.138e-05/0.01313, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.01315, allocations: 8 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.01315, allocations: 7.984 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.429e-05/0.0132, allocations: 135.2 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0132, allocations: 0 / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006316/0.01383, allocations: 323.3 kB / 382.5 MB, free: 13.93 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.0006286/0.01446, allocations: 406.1 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.0146, allocations: 178.3 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0146, allocations: 0 / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.551e-05/0.01466, allocations: 128.8 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.0148, allocations: 4 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.01525, allocations: 243.3 kB / 383.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.103e-05/0.01529, allocations: 63.34 kB / 383.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.566e-05/0.0153, allocations: 7.984 kB / 383.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/0.01539, allocations: 86.19 kB / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01539, allocations: 0 / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of Templates: time 0.009407/0.0248, allocations: 7.429 MB / 391 MB, free: 5.312 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.349020294845104]