Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.00102/0.00102, allocations: 77.97 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.001096/0.001096, allocations: 168.8 kB / 24.82 MB, free: 9.273 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 0.969/0.969, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.2395/0.2395, allocations: 29.43 MB / 291.2 MB, free: 2.461 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_matrixEqCirc0,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_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,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_matrixEqCirc0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.339e-05, allocations: 2.312 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002627/0.002651, allocations: 2.219 MB / 372.3 MB, free: 8.477 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006524/0.003303, allocations: 0.5376 MB / 372.9 MB, free: 7.938 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.003354, allocations: 0 / 372.9 MB, free: 7.938 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.003514, allocations: 11.92 kB / 372.9 MB, free: 7.926 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.003583, allocations: 27.78 kB / 372.9 MB, free: 7.898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.003859, allocations: 87.67 kB / 373 MB, free: 7.812 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.003976, allocations: 59.75 kB / 373.1 MB, free: 7.754 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.004017, allocations: 4 kB / 373.1 MB, free: 7.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.004155, allocations: 39.89 kB / 373.1 MB, free: 7.711 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.039e-05/0.004205, allocations: 23.91 kB / 373.1 MB, free: 7.688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.004215, allocations: 4 kB / 373.1 MB, free: 7.684 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.004368, allocations: 103.7 kB / 373.2 MB, free: 7.582 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.004401, allocations: 15.92 kB / 373.2 MB, free: 7.566 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.463e-05/0.004416, allocations: 8 kB / 373.3 MB, free: 7.559 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.004553, allocations: 103.7 kB / 373.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.004556, allocations: 0 / 373.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.004558, allocations: 0 / 373.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.004563, allocations: 3.938 kB / 373.4 MB, free: 7.453 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.0002894/0.004853, allocations: 414.1 kB / 373.8 MB, free: 7.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.004889, allocations: 11.98 kB / 373.8 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.004917, allocations: 4.938 kB / 373.8 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.005018, allocations: 124.5 kB / 373.9 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.005026, allocations: 4.375 kB / 373.9 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-06/0.005031, allocations: 4.375 kB / 373.9 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.411e-05/0.005115, allocations: 75.89 kB / 374 MB, free: 6.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.005123, allocations: 3.938 kB / 374 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.005129, allocations: 0 / 374 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.005134, allocations: 0 / 374 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/0.005157, allocations: 45.62 kB / 374 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.272e-05/0.005249, allocations: 97.22 kB / 374.1 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.275e-05/0.005302, allocations: 60.75 kB / 374.2 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.005329, allocations: 57.39 kB / 374.2 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-06/0.005331, allocations: 0 / 374.2 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.005354, allocations: 37.39 kB / 374.3 MB, free: 6.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 9.91e-07/0.005355, allocations: 0 / 374.3 MB, free: 6.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001562/0.005511, allocations: 166.9 kB / 374.4 MB, free: 6.195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.005543, allocations: 89.05 kB / 374.5 MB, free: 6.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.026e-05/0.005613, allocations: 173.8 kB / 374.7 MB, free: 5.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.005624, allocations: 29.69 kB / 374.7 MB, free: 5.867 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.005657, allocations: 134.9 kB / 374.9 MB, free: 5.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.005688, allocations: 27.73 kB / 374.9 MB, free: 5.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.005714, allocations: 27.36 kB / 374.9 MB, free: 5.668 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.00582, allocations: 0.4884 MB / 375.4 MB, free: 5.168 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.005848, allocations: 37.69 kB / 375.4 MB, free: 5.125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.005867, allocations: 41.73 kB / 375.5 MB, free: 5.078 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.456e-05/0.005921, allocations: 98.98 kB / 375.6 MB, free: 4.965 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.005923, allocations: 0 / 375.6 MB, free: 4.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.993e-05/0.006002, allocations: 125 kB / 375.7 MB, free: 4.824 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.006035, allocations: 41.69 kB / 375.7 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006039, allocations: 0 / 375.7 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.006049, allocations: 0 / 375.7 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.00605, allocations: 3.938 kB / 375.7 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.006053, allocations: 0 / 375.7 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.006069, allocations: 8 kB / 375.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.00608, allocations: 7.984 kB / 375.8 MB, free: 4.758 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 7.474e-05/0.006155, allocations: 202.3 kB / 376 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.006164, allocations: 7.953 kB / 376 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.329e-05/0.006178, allocations: 8.438 kB / 376 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.006179, allocations: 0 / 376 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.006181, allocations: 7.875 kB / 376 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.006183, allocations: 0 / 376 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.637e-05/0.006239, allocations: 101.2 kB / 376.1 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.00624, allocations: 0 / 376.1 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-07/0.006241, allocations: 0 / 376.1 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006242, allocations: 0 / 376.1 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.006247, allocations: 11.94 kB / 376.1 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.006248, allocations: 0 / 376.1 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006249, allocations: 320 / 376.1 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.00637, allocations: 195.7 kB / 376.3 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.00638, allocations: 11.89 kB / 376.3 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-06/0.006388, allocations: 0 / 376.3 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/0.006398, allocations: 4 kB / 376.3 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-06/0.006407, allocations: 0 / 376.3 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.006412, allocations: 4 kB / 376.3 MB, free: 4.141 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.562e-05/0.006448, allocations: 139.1 kB / 376.4 MB, free: 4.004 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006448, allocations: 0 / 376.4 MB, free: 4.004 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001404/0.006588, allocations: 27.97 kB / 376.5 MB, free: 3.977 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.0001218/0.00671, allocations: 111.2 kB / 376.6 MB, free: 3.855 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.006832, allocations: 174.4 kB / 376.7 MB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.006834, allocations: 0 / 376.7 MB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.703e-05/0.006881, allocations: 120.8 kB / 376.9 MB, free: 3.516 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.007018, allocations: 14.33 kB / 376.9 MB, free: 3.504 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.007263, allocations: 211.9 kB / 377.1 MB, free: 3.262 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.989e-05/0.007293, allocations: 67.28 kB / 377.1 MB, free: 3.176 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.067e-05/0.007303, allocations: 0 / 377.1 MB, free: 3.176 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.00739, allocations: 102.1 kB / 377.2 MB, free: 3.074 MB / 346.7 MB Notification: Performance of SimCode: time 6.62e-07/0.007391, allocations: 0 / 377.2 MB, free: 3.074 MB / 346.7 MB Notification: Performance of Templates: time 0.002557/0.009948, allocations: 1.249 MB / 378.5 MB, free: 1.852 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.8443096610717475]