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.0007342/0.0007342, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009745/0.001709, 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.000708/0.000708, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008499/0.001558, 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.9969/0.9969, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0814/1.078, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.1284/0.1284, allocations: 29.43 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1194/0.2478, allocations: 9.533 MB / 283 MB, free: 12.83 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_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.292e-05, allocations: 5.641 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003731/0.003754, allocations: 2.285 MB / 286.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008333/0.004587, allocations: 0.5527 MB / 287.1 MB, free: 9.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.004628, allocations: 0 / 287.1 MB, free: 9.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.458e-05/0.004713, allocations: 10.42 kB / 287.1 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.004817, allocations: 34.89 kB / 287.1 MB, free: 9.586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.005136, allocations: 78.75 kB / 287.2 MB, free: 9.531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.005291, allocations: 62.27 kB / 287.3 MB, free: 9.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.005337, allocations: 5.469 kB / 287.3 MB, free: 9.496 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.005524, allocations: 46.48 kB / 287.3 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.964e-05/0.005584, allocations: 31.61 kB / 287.3 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.005595, allocations: 2.531 kB / 287.3 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.005836, allocations: 95.3 kB / 287.4 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.513e-05/0.005901, allocations: 44.81 kB / 287.5 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.005931, allocations: 15.72 kB / 287.5 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.006151, allocations: 129.8 kB / 287.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.687e-05/0.006168, allocations: 1.75 kB / 287.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006169, allocations: 0 / 287.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.006186, allocations: 4 kB / 287.6 MB, free: 9.309 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004728/0.006658, allocations: 403.9 kB / 288 MB, free: 8.957 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.006695, allocations: 8.969 kB / 288 MB, free: 8.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.006734, allocations: 5.312 kB / 288 MB, free: 8.957 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.006912, allocations: 147.5 kB / 288.2 MB, free: 8.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.006923, allocations: 1.781 kB / 288.2 MB, free: 8.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.006932, allocations: 5.469 kB / 288.2 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.007126, allocations: 145.1 kB / 288.3 MB, free: 8.707 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.007133, allocations: 0 / 288.3 MB, free: 8.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.007141, allocations: 1.219 kB / 288.3 MB, free: 8.707 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.007148, allocations: 4 kB / 288.3 MB, free: 8.703 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.789e-05/0.007246, allocations: 105.8 kB / 288.4 MB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.612e-05/0.007332, allocations: 70.86 kB / 288.5 MB, free: 8.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.007458, allocations: 115.8 kB / 288.6 MB, free: 8.508 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.605e-05/0.007554, allocations: 111 kB / 288.7 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-06/0.007558, allocations: 0 / 288.7 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.007588, allocations: 32.38 kB / 288.8 MB, free: 8.414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 9.21e-07/0.007589, allocations: 0 / 288.8 MB, free: 8.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.0004543/0.008044, allocations: 463.5 kB / 289.2 MB, free: 8.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.008075, allocations: 52.34 kB / 289.3 MB, free: 8.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.008184, allocations: 140.6 kB / 289.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.008196, allocations: 29.7 kB / 289.4 MB, free: 8.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.008229, allocations: 93.05 kB / 289.5 MB, free: 7.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.008332, allocations: 131.3 kB / 289.7 MB, free: 7.812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.008381, allocations: 33.55 kB / 289.7 MB, free: 7.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.008486, allocations: 334.6 kB / 290 MB, free: 7.453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.008598, allocations: 111.6 kB / 290.1 MB, free: 7.398 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.008687, allocations: 97.09 kB / 290.2 MB, free: 7.355 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.008915, allocations: 252.2 kB / 290.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.008918, allocations: 0 / 290.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003002/0.009218, allocations: 312.1 kB / 290.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.785e-05/0.009306, allocations: 87.75 kB / 290.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.009312, allocations: 1.375 kB / 290.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.009321, allocations: 0 / 290.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.779e-06/0.009326, allocations: 0 / 290.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.009329, allocations: 1.375 kB / 290.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.009379, allocations: 24.06 kB / 290.9 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.009404, allocations: 9.438 kB / 290.9 MB, free: 7.008 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 0.0001542/0.009558, allocations: 196.7 kB / 291.1 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.009599, allocations: 28.55 kB / 291.1 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.018e-05/0.009619, allocations: 12.7 kB / 291.1 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.009621, allocations: 5.375 kB / 291.1 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.009623, allocations: 0 / 291.1 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.009625, allocations: 0 / 291.1 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.009733, allocations: 105 kB / 291.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.009735, allocations: 0 / 291.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-06/0.009736, allocations: 0 / 291.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.009758, allocations: 26.61 kB / 291.3 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.00976, allocations: 0 / 291.3 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.009777, allocations: 9.438 kB / 291.3 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.009778, allocations: 1.375 kB / 291.3 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.00978, allocations: 0 / 291.3 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/0.01029, allocations: 477.7 kB / 291.7 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.01032, allocations: 5.125 kB / 291.7 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.01035, allocations: 10.06 kB / 291.7 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.01037, allocations: 10.62 kB / 291.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.01039, allocations: 5.406 kB / 291.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.35e-05/0.01043, allocations: 32.86 kB / 291.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01043, allocations: 0 / 291.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002599/0.01069, allocations: 61.72 kB / 291.9 MB, free: 6.445 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.0001728/0.01087, allocations: 97.27 kB / 292 MB, free: 6.367 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004466/0.01131, allocations: 414.5 kB / 292.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.01132, allocations: 2.656 kB / 292.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.01156, allocations: 263.9 kB / 292.6 MB, free: 6.027 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.01178, allocations: 39.58 kB / 292.7 MB, free: 6.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.01284, allocations: 0.5308 MB / 293.2 MB, free: 5.465 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.776e-05/0.01291, allocations: 87.81 kB / 293.3 MB, free: 5.359 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.616e-05/0.01294, allocations: 8.375 kB / 293.3 MB, free: 5.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.01314, allocations: 103.4 kB / 293.4 MB, free: 5.25 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01315, allocations: 0 / 293.4 MB, free: 5.25 MB / 282.7 MB Notification: Performance of Templates: time 0.006243/0.01939, allocations: 3.01 MB / 296.4 MB, free: 2.305 MB / 282.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 240] 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","",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.7438748721033335]