Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.001437/0.001437, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001523/0.001523, allocations: 161.7 kB / 24.27 MB, free: 172 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.467/1.467, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.297/0.297, allocations: 29.41 MB / 290.5 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.747e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003627/0.003654, allocations: 2.157 MB / 371.1 MB, free: 9.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.004911, allocations: 0.5183 MB / 371.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.004957, allocations: 7.938 kB / 371.6 MB, free: 8.594 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.005121, allocations: 11.92 kB / 371.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.005221, allocations: 27.83 kB / 371.6 MB, free: 8.555 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.005718, allocations: 79.69 kB / 371.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.005886, allocations: 63.7 kB / 371.8 MB, free: 8.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.067e-05/0.005947, allocations: 4 kB / 371.8 MB, free: 8.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.00612, allocations: 39.83 kB / 371.8 MB, free: 8.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.006191, allocations: 27.89 kB / 371.8 MB, free: 8.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.006202, allocations: 4 kB / 371.8 MB, free: 8.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.006432, allocations: 99.78 kB / 371.9 MB, free: 8.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.006525, allocations: 39.86 kB / 372 MB, free: 8.203 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.006582, allocations: 23.86 kB / 372 MB, free: 8.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.00687, allocations: 147.4 kB / 372.1 MB, free: 8.035 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.006876, allocations: 0 / 372.1 MB, free: 8.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006877, allocations: 0 / 372.1 MB, free: 8.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.006882, allocations: 0 / 372.1 MB, free: 8.035 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005958/0.007478, allocations: 411.1 kB / 372.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.007527, allocations: 11.98 kB / 372.5 MB, free: 7.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.241e-05/0.0076, allocations: 20.8 kB / 372.6 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.007831, allocations: 146 kB / 372.7 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.007843, allocations: 4.375 kB / 372.7 MB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.007853, allocations: 4.312 kB / 372.7 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.008191, allocations: 224.2 kB / 372.9 MB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.0082, allocations: 0 / 372.9 MB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.00821, allocations: 0 / 372.9 MB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.008214, allocations: 0 / 372.9 MB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.008452, allocations: 193.9 kB / 373.1 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.008634, allocations: 129.8 kB / 373.3 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.00889, allocations: 196.5 kB / 373.4 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.009113, allocations: 190.8 kB / 373.6 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.009125, allocations: 4 kB / 373.6 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/0.009179, allocations: 38.5 kB / 373.7 MB, free: 6.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.021e-06/0.00918, allocations: 0 / 373.7 MB, free: 6.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.001009/0.01019, allocations: 0.6828 MB / 374.4 MB, free: 5.648 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.917e-05/0.01029, allocations: 109.1 kB / 374.5 MB, free: 5.523 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.01047, allocations: 149.6 kB / 374.6 MB, free: 5.363 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.01049, allocations: 25.7 kB / 374.6 MB, free: 5.332 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.01057, allocations: 96.78 kB / 374.7 MB, free: 5.234 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.01071, allocations: 130.8 kB / 374.9 MB, free: 5.105 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.01077, allocations: 37.7 kB / 374.9 MB, free: 5.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.01098, allocations: 330.8 kB / 375.2 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.0112, allocations: 189.7 kB / 375.4 MB, free: 4.539 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.01141, allocations: 182.6 kB / 375.6 MB, free: 4.355 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.0119, allocations: 432.3 kB / 376 MB, free: 3.918 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.0119, allocations: 0 / 376 MB, free: 3.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000549/0.01245, allocations: 460.6 kB / 376.5 MB, free: 3.449 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.01256, allocations: 85.62 kB / 376.5 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01257, allocations: 0 / 376.5 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.01259, allocations: 4 kB / 376.5 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.01259, allocations: 0 / 376.5 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.0126, allocations: 0 / 376.5 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.01265, allocations: 19.91 kB / 376.6 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.01268, allocations: 12 kB / 376.6 MB, free: 3.324 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 0.0002379/0.01292, allocations: 227.4 kB / 376.8 MB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.01297, allocations: 35.84 kB / 376.8 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.013, allocations: 13.97 kB / 376.8 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.013, allocations: 0 / 376.8 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.01301, allocations: 3.938 kB / 376.8 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01301, allocations: 3.984 kB / 376.9 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.01318, allocations: 145.1 kB / 377 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.01318, allocations: 4 kB / 377 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-06/0.01319, allocations: 4 kB / 377 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01319, allocations: 7.938 kB / 377 MB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.01321, allocations: 4 kB / 377 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.01322, allocations: 3.984 kB / 377 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01322, allocations: 4 kB / 377 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.01424, allocations: 0.7655 MB / 377.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.01428, allocations: 23.78 kB / 377.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.0143, allocations: 4 kB / 377.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.237e-05/0.01435, allocations: 12 kB / 377.8 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.01438, allocations: 0 / 377.8 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.0144, allocations: 8 kB / 377.8 MB, free: 1.988 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.0145, allocations: 118.5 kB / 377.9 MB, free: 1.875 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0145, allocations: 0 / 377.9 MB, free: 1.875 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000287/0.01479, allocations: 63.94 kB / 378 MB, free: 1.812 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.0002356/0.01502, allocations: 115.2 kB / 378.1 MB, free: 1.691 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.0163, allocations: 0.7445 MB / 378.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.01631, allocations: 4 kB / 378.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000513/0.01682, allocations: 428.9 kB / 379.3 MB, free: 492 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.01711, allocations: 36.05 kB / 379.3 MB, free: 456 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.01823, allocations: 0.718 MB / 380 MB, free: 15.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.01839, allocations: 135.4 kB / 380.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.258e-05/0.01841, allocations: 0 / 380.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.01843, allocations: 8.5 kB / 380.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01843, allocations: 0 / 380.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Templates: time 0.007129/0.02556, allocations: 2.823 MB / 383 MB, free: 12.74 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.581751576042734]