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.0009497/0.0009497, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0009311/0.0009311, allocations: 161 kB / 24.56 MB, free: 12 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 0.9929/0.9929, allocations: 177.1 MB / 205 MB, free: 5.617 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.2228/0.2228, allocations: 29.42 MB / 290.9 MB, free: 2.504 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.784e-06/1.784e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.51e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002094/0.002109, allocations: 2.222 MB / 371.9 MB, free: 8.762 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005604/0.00267, allocations: 0.5377 MB / 372.4 MB, free: 8.223 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.00271, allocations: 11.94 kB / 372.4 MB, free: 8.211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.002841, allocations: 7.922 kB / 372.4 MB, free: 8.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.192e-05/0.002922, allocations: 27.83 kB / 372.4 MB, free: 8.176 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.003236, allocations: 79.69 kB / 372.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.668e-05/0.003333, allocations: 63.7 kB / 372.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.41e-05/0.003367, allocations: 0 / 372.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.003487, allocations: 39.89 kB / 372.6 MB, free: 7.996 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.003527, allocations: 31.83 kB / 372.7 MB, free: 7.965 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.003538, allocations: 0 / 372.7 MB, free: 7.965 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.003826, allocations: 103.8 kB / 372.8 MB, free: 7.863 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.003875, allocations: 31.86 kB / 372.8 MB, free: 7.832 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.003904, allocations: 11.94 kB / 372.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.004056, allocations: 127.5 kB / 372.9 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004058, allocations: 0 / 372.9 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004058, allocations: 0 / 372.9 MB, free: 7.695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.004062, allocations: 0 / 372.9 MB, free: 7.695 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.0003188/0.004381, allocations: 465.7 kB / 373.4 MB, free: 7.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.004417, allocations: 15.98 kB / 373.4 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.004457, allocations: 12.84 kB / 373.4 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.004579, allocations: 136.5 kB / 373.5 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.004587, allocations: 4.375 kB / 373.5 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.004596, allocations: 384 / 373.5 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.004699, allocations: 91.89 kB / 373.6 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.004708, allocations: 3.938 kB / 373.6 MB, free: 6.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.004717, allocations: 3.984 kB / 373.6 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.004723, allocations: 0 / 373.6 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.737e-05/0.00476, allocations: 57.7 kB / 373.7 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.004862, allocations: 132.5 kB / 373.8 MB, free: 6.672 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.102e-05/0.004923, allocations: 84.75 kB / 373.9 MB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.004964, allocations: 69.41 kB / 374 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-06/0.004968, allocations: 11.94 kB / 374 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.00499, allocations: 37.38 kB / 374 MB, free: 6.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 6.71e-07/0.00499, allocations: 0 / 374 MB, free: 6.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002426/0.005233, allocations: 293.7 kB / 374.3 MB, free: 6.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.005272, allocations: 97.09 kB / 374.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.005363, allocations: 192.3 kB / 374.6 MB, free: 5.809 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.005371, allocations: 25.7 kB / 374.6 MB, free: 5.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.005414, allocations: 143.4 kB / 374.8 MB, free: 5.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.005471, allocations: 87.25 kB / 374.8 MB, free: 5.547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.005504, allocations: 35.38 kB / 374.9 MB, free: 5.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.005612, allocations: 0.504 MB / 375.4 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.005652, allocations: 61.62 kB / 375.4 MB, free: 4.922 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.005686, allocations: 61.69 kB / 375.5 MB, free: 4.855 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.595e-05/0.005782, allocations: 157.8 kB / 375.7 MB, free: 4.688 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005784, allocations: 0 / 375.7 MB, free: 4.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001428/0.005927, allocations: 204.9 kB / 375.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.005968, allocations: 61.66 kB / 375.9 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.005972, allocations: 0 / 375.9 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.005985, allocations: 3.938 kB / 375.9 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-06/0.005988, allocations: 0 / 375.9 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.005993, allocations: 0 / 375.9 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.006014, allocations: 16.02 kB / 375.9 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.00603, allocations: 4 kB / 375.9 MB, free: 4.379 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 9.247e-05/0.006122, allocations: 226.1 kB / 376.2 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.00614, allocations: 23.91 kB / 376.2 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.424e-05/0.006154, allocations: 9.281 kB / 376.2 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.006157, allocations: 7.922 kB / 376.2 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.00616, allocations: 0 / 376.2 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006163, allocations: 0 / 376.2 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.104e-05/0.006234, allocations: 140.6 kB / 376.3 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.006235, allocations: 4 kB / 376.3 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-07/0.006236, allocations: 4 kB / 376.3 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.006237, allocations: 0 / 376.3 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.006246, allocations: 4 kB / 376.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.006246, allocations: 0 / 376.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.006248, allocations: 3.938 kB / 376.4 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.006466, allocations: 332.6 kB / 376.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.006477, allocations: 15.84 kB / 376.7 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.006491, allocations: 4 kB / 376.7 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.244e-05/0.006504, allocations: 4 kB / 376.7 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.006521, allocations: 7.875 kB / 376.7 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.006527, allocations: 4 kB / 376.7 MB, free: 3.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.288e-05/0.00657, allocations: 147.2 kB / 376.9 MB, free: 3.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00657, allocations: 0 / 376.9 MB, free: 3.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001516/0.006722, allocations: 47.94 kB / 376.9 MB, free: 3.328 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.0001386/0.00686, allocations: 115.2 kB / 377 MB, free: 3.203 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.007083, allocations: 283.4 kB / 377.3 MB, free: 2.898 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.007085, allocations: 0 / 377.3 MB, free: 2.898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.007189, allocations: 188.7 kB / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.007352, allocations: 24.11 kB / 377.5 MB, free: 2.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.007759, allocations: 373.2 kB / 377.9 MB, free: 2.266 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.52e-05/0.007804, allocations: 79.31 kB / 377.9 MB, free: 2.168 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.506e-05/0.007819, allocations: 0 / 377.9 MB, free: 2.168 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.007835, allocations: 12.5 kB / 378 MB, free: 2.156 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007836, allocations: 0 / 378 MB, free: 2.156 MB / 346.7 MB Notification: Performance of Templates: time 0.003221/0.01106, allocations: 2.028 MB / 380 MB, free: 164 kB / 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.1446772408671677]