Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.001038/0.001038, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001151/0.001151, allocations: 165.5 kB / 24.99 MB, free: 8.793 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.245/0.245, allocations: 29.42 MB / 291.2 MB, free: 2.523 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_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218e-05/1.332e-05, allocations: 2.312 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.00218/0.002193, allocations: 2.222 MB / 371.8 MB, free: 9.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005523/0.002746, allocations: 0.5416 MB / 372.4 MB, free: 8.559 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.002794, allocations: 3.938 kB / 372.4 MB, free: 8.555 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.002919, allocations: 7.922 kB / 372.4 MB, free: 8.547 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.002993, allocations: 35.77 kB / 372.4 MB, free: 8.512 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.00329, allocations: 75.75 kB / 372.5 MB, free: 8.438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.0034, allocations: 63.7 kB / 372.6 MB, free: 8.375 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.003441, allocations: 0 / 372.6 MB, free: 8.375 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.003598, allocations: 43.83 kB / 372.6 MB, free: 8.332 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.003646, allocations: 31.89 kB / 372.6 MB, free: 8.301 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.003656, allocations: 0 / 372.6 MB, free: 8.301 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.003819, allocations: 95.78 kB / 372.7 MB, free: 8.207 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.003873, allocations: 31.86 kB / 372.8 MB, free: 8.176 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.003899, allocations: 11.94 kB / 372.8 MB, free: 8.164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.004065, allocations: 131.5 kB / 372.9 MB, free: 8.035 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004068, allocations: 4 kB / 372.9 MB, free: 8.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004068, allocations: 0 / 372.9 MB, free: 8.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.004072, allocations: 0 / 372.9 MB, free: 8.031 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005199/0.004592, allocations: 465.7 kB / 373.4 MB, free: 7.535 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.004628, allocations: 15.98 kB / 373.4 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.004667, allocations: 12.84 kB / 373.4 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.004797, allocations: 128.5 kB / 373.5 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.004805, allocations: 384 / 373.5 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.004813, allocations: 8.312 kB / 373.5 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.004919, allocations: 87.95 kB / 373.6 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004927, allocations: 7.938 kB / 373.6 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.004934, allocations: 0 / 373.6 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.00494, allocations: 0 / 373.6 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.8e-05/0.004978, allocations: 61.69 kB / 373.7 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.93e-05/0.005078, allocations: 136.5 kB / 373.8 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.013e-05/0.005138, allocations: 84.75 kB / 373.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.005178, allocations: 72.19 kB / 374 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-06/0.005181, allocations: 4 kB / 374 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.005203, allocations: 37.39 kB / 374 MB, free: 6.777 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 5.71e-07/0.005204, allocations: 0 / 374 MB, free: 6.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002481/0.005452, allocations: 294.9 kB / 374.3 MB, free: 6.465 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.005492, allocations: 97.09 kB / 374.4 MB, free: 6.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.005583, allocations: 196.3 kB / 374.6 MB, free: 6.145 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.005592, allocations: 25.7 kB / 374.6 MB, free: 6.113 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.005632, allocations: 139.4 kB / 374.7 MB, free: 5.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.00569, allocations: 83.27 kB / 374.8 MB, free: 5.891 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.005723, allocations: 39.36 kB / 374.9 MB, free: 5.844 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.005827, allocations: 0.5 MB / 375.4 MB, free: 5.332 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.005864, allocations: 61.69 kB / 375.4 MB, free: 5.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.267e-05/0.005897, allocations: 61.69 kB / 375.5 MB, free: 5.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.179e-05/0.005989, allocations: 157.7 kB / 375.6 MB, free: 5.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.005991, allocations: 8.031 kB / 375.6 MB, free: 5.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001255/0.006116, allocations: 201 kB / 375.8 MB, free: 4.809 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.006156, allocations: 61.66 kB / 375.9 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.00616, allocations: 0 / 375.9 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.006174, allocations: 3.938 kB / 375.9 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.006175, allocations: 0 / 375.9 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.006179, allocations: 0 / 375.9 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.006201, allocations: 19.89 kB / 375.9 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.006217, allocations: 8 kB / 375.9 MB, free: 4.711 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 8.495e-05/0.006302, allocations: 218.2 kB / 376.1 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.006321, allocations: 27.94 kB / 376.2 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.3e-05/0.006334, allocations: 9.281 kB / 376.2 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.006336, allocations: 3.938 kB / 376.2 MB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.00634, allocations: 3.984 kB / 376.2 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.006342, allocations: 0 / 376.2 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.903e-05/0.006411, allocations: 136.6 kB / 376.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.006413, allocations: 3.984 kB / 376.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-07/0.006414, allocations: 0 / 376.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.006415, allocations: 0 / 376.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.006424, allocations: 4 kB / 376.3 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.006424, allocations: 0 / 376.3 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.006426, allocations: 7.938 kB / 376.3 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.006647, allocations: 325.6 kB / 376.7 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.006659, allocations: 19.84 kB / 376.7 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.006674, allocations: 4 kB / 376.7 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.316e-05/0.006687, allocations: 7.938 kB / 376.7 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.006702, allocations: 7.922 kB / 376.7 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.006708, allocations: 4 kB / 376.7 MB, free: 3.859 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000287/0.006995, allocations: 147.2 kB / 376.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006995, allocations: 0 / 376.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.007148, allocations: 47.94 kB / 376.9 MB, free: 3.668 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.0001184/0.007266, allocations: 115.2 kB / 377 MB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.007489, allocations: 282.4 kB / 377.3 MB, free: 3.238 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.00749, allocations: 0 / 377.3 MB, free: 3.238 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.007601, allocations: 193.5 kB / 377.5 MB, free: 3.027 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.007772, allocations: 19.98 kB / 377.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.008198, allocations: 368.5 kB / 377.8 MB, free: 2.609 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.323e-05/0.008242, allocations: 79.33 kB / 377.9 MB, free: 2.512 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.64e-05/0.008258, allocations: 3.984 kB / 377.9 MB, free: 2.508 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.008272, allocations: 12.5 kB / 377.9 MB, free: 2.496 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008272, allocations: 0 / 377.9 MB, free: 2.496 MB / 346.7 MB Notification: Performance of Templates: time 0.003229/0.0115, allocations: 2.023 MB / 380 MB, free: 0.5039 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.143809834960848]