Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.001436/0.001436, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001898/0.003334, 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.0007618/0.0007618, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009739/0.001736, 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.9389/0.9389, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07759/1.017, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.1164/0.1164, allocations: 29.45 MB / 273.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1047/0.2211, allocations: 9.528 MB / 283 MB, free: 12.84 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.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="r_rd.[0-9,]+.|r_rq.[0-9,]+.|xm_d.[0-9,]+.|xm_q.[0-9,]+.|xsig_rd.[0-9,]+.|xsig_rq.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="r_rd.[0-9,]+.|r_rq.[0-9,]+.|xm_d.[0-9,]+.|xm_q.[0-9,]+.|xsig_rd.[0-9,]+.|xsig_rq.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.937e-05, allocations: 4.172 kB / 284.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003365/0.003384, allocations: 2.377 MB / 286.6 MB, free: 9.965 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.006338, allocations: 1.985 MB / 288.6 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.006398, allocations: 5.125 kB / 288.6 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.531e-05/0.006473, allocations: 13.14 kB / 288.6 MB, free: 8.473 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.006577, allocations: 46.7 kB / 288.7 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002116/0.008693, allocations: 0.8511 MB / 289.5 MB, free: 7.887 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.008865, allocations: 103.2 kB / 289.6 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.008905, allocations: 10.73 kB / 289.6 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.009075, allocations: 71.42 kB / 289.7 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.77e-05/0.009173, allocations: 52.55 kB / 289.8 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.009186, allocations: 2.75 kB / 289.8 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.01235, allocations: 1.786 MB / 291.5 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/0.01242, allocations: 36.41 kB / 291.6 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.01248, allocations: 18.25 kB / 291.6 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.01451, allocations: 1.248 MB / 292.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-05/0.01452, allocations: 0 / 292.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01452, allocations: 3.938 kB / 292.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.01454, allocations: 0 / 292.9 MB, free: 6.098 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009166/0.01546, allocations: 0.5403 MB / 293.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.01549, allocations: 8.031 kB / 293.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.01554, allocations: 8.922 kB / 293.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.0157, allocations: 132.3 kB / 293.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.01571, allocations: 4.375 kB / 293.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.01572, allocations: 384 / 293.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.01587, allocations: 102.3 kB / 293.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.01588, allocations: 0 / 293.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.01589, allocations: 0 / 293.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.01589, allocations: 3.938 kB / 293.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.01594, allocations: 53.69 kB / 293.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.267e-05/0.01602, allocations: 63.83 kB / 293.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.704e-05/0.0161, allocations: 72.27 kB / 293.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.01615, allocations: 58.56 kB / 293.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-06/0.01615, allocations: 0 / 293.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.01618, allocations: 42.48 kB / 293.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 7.81e-07/0.01618, allocations: 0 / 293.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002414/0.01642, allocations: 220.5 kB / 294.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.01646, allocations: 55.41 kB / 294.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.01656, allocations: 146.5 kB / 294.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.01657, allocations: 25.7 kB / 294.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.0166, allocations: 92.34 kB / 294.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.01665, allocations: 51.53 kB / 294.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.01669, allocations: 21.69 kB / 294.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.01679, allocations: 322.8 kB / 294.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.973e-05/0.01685, allocations: 60.52 kB / 294.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.266e-05/0.01689, allocations: 49.69 kB / 295 MB, free: 3.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.01713, allocations: 141.2 kB / 295.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01713, allocations: 0 / 295.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001554/0.01729, allocations: 149.1 kB / 295.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.142e-05/0.01734, allocations: 45.69 kB / 295.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01734, allocations: 0 / 295.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.01735, allocations: 3.938 kB / 295.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.591e-06/0.01736, allocations: 4 kB / 295.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.01736, allocations: 3.984 kB / 295.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.225e-05/0.01743, allocations: 4 kB / 295.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.01745, allocations: 8 kB / 295.3 MB, free: 3.484 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 9.606e-05/0.01754, allocations: 158.4 kB / 295.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.01757, allocations: 15.98 kB / 295.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.923e-05/0.01759, allocations: 8.766 kB / 295.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01759, allocations: 3.938 kB / 295.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01759, allocations: 7.938 kB / 295.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.0176, allocations: 0 / 295.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.687e-05/0.01768, allocations: 89.77 kB / 295.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01768, allocations: 0 / 295.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.01768, allocations: 3.938 kB / 295.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.405e-05/0.0177, allocations: 11.91 kB / 295.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.0177, allocations: 0 / 295.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01771, allocations: 12 kB / 295.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.01771, allocations: 0 / 295.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01772, allocations: 3.938 kB / 295.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.01793, allocations: 222.1 kB / 295.8 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.01795, allocations: 4 kB / 295.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.154e-05/0.01798, allocations: 0 / 295.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.018, allocations: 8 kB / 295.8 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.01801, allocations: 7.938 kB / 295.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.443e-05/0.01805, allocations: 35.05 kB / 295.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01805, allocations: 0 / 295.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009569/0.01901, allocations: 331.3 kB / 296.2 MB, free: 2.508 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.0009236/0.01993, allocations: 419.9 kB / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.02017, allocations: 219.6 kB / 296.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.02018, allocations: 4 kB / 296.8 MB, free: 1.848 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.02029, allocations: 145.9 kB / 297 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.02046, allocations: 28.12 kB / 297 MB, free: 1.656 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.02177, allocations: 342.5 kB / 297.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.092e-05/0.02182, allocations: 75.33 kB / 297.4 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.109e-05/0.02184, allocations: 3.953 kB / 297.4 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.02197, allocations: 83.36 kB / 297.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02197, allocations: 4 kB / 297.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of Templates: time 0.01099/0.03295, allocations: 8.034 MB / 305.5 MB, free: 9.133 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.8546497421339154]