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.001405/0.001405, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001041/0.001041, allocations: 172.6 kB / 24.92 MB, free: 8.727 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.145/1.145, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2477/0.2477, allocations: 29.43 MB / 291.2 MB, free: 2.477 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.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|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="Time|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.483e-06/1.483e-06, allocations: 0 / 316.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.478e-05, allocations: 2.312 kB / 316.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.004091/0.004116, allocations: 2.355 MB / 319.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.007448, allocations: 1.996 MB / 321.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.007507, allocations: 0 / 321.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.007654, allocations: 15.91 kB / 321.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.007767, allocations: 43.7 kB / 321.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.009293, allocations: 0.9076 MB / 322.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.009419, allocations: 95.56 kB / 322.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.009466, allocations: 11.97 kB / 322.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.009596, allocations: 47.89 kB / 322.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.009671, allocations: 51.86 kB / 322.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.009682, allocations: 0 / 322.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.01157, allocations: 1.909 MB / 324.3 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.01162, allocations: 31.92 kB / 324.4 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.01165, allocations: 23.92 kB / 324.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.01287, allocations: 1.492 MB / 325.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01287, allocations: 0 / 325.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01287, allocations: 0 / 325.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.01288, allocations: 0 / 325.9 MB, free: 6.902 MB / 298.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.0004821/0.01336, allocations: 460.5 kB / 326.3 MB, free: 6.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.01339, allocations: 8.031 kB / 326.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.01342, allocations: 8.938 kB / 326.4 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.01357, allocations: 149.3 kB / 326.5 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.01358, allocations: 384 / 326.5 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.01359, allocations: 384 / 326.5 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.01371, allocations: 87.95 kB / 326.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.01372, allocations: 0 / 326.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.01372, allocations: 0 / 326.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.01373, allocations: 0 / 326.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.308e-05/0.01376, allocations: 49.69 kB / 326.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.777e-05/0.01385, allocations: 75.77 kB / 326.7 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.353e-05/0.01392, allocations: 68.2 kB / 326.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.01395, allocations: 50.58 kB / 326.8 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-06/0.01395, allocations: 0 / 326.8 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.01398, allocations: 34.56 kB / 326.9 MB, free: 5.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 7.11e-07/0.01398, allocations: 0 / 326.9 MB, free: 5.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001851/0.01416, allocations: 190.7 kB / 327 MB, free: 5.598 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.01421, allocations: 93.09 kB / 327.1 MB, free: 5.488 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.0143, allocations: 145.5 kB / 327.3 MB, free: 5.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.01431, allocations: 25.7 kB / 327.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.01434, allocations: 100.3 kB / 327.4 MB, free: 5.203 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.01438, allocations: 47.58 kB / 327.4 MB, free: 5.156 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.01441, allocations: 21.7 kB / 327.5 MB, free: 5.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.0145, allocations: 326.8 kB / 327.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.01453, allocations: 44.53 kB / 327.8 MB, free: 4.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.01457, allocations: 50.31 kB / 327.9 MB, free: 4.695 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.537e-05/0.01464, allocations: 111.8 kB / 328 MB, free: 4.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01465, allocations: 0 / 328 MB, free: 4.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001037/0.01475, allocations: 141.3 kB / 328.1 MB, free: 4.414 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.01479, allocations: 49.69 kB / 328.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.01479, allocations: 0 / 328.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.0148, allocations: 8 kB / 328.2 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.136e-06/0.01481, allocations: 3.938 kB / 328.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.01481, allocations: 0 / 328.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.899e-05/0.01485, allocations: 11.92 kB / 328.2 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.01487, allocations: 4 kB / 328.2 MB, free: 4.332 MB / 298.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.36e-05/0.01495, allocations: 158.4 kB / 328.4 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.01496, allocations: 11.98 kB / 328.4 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.01498, allocations: 16.7 kB / 328.4 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.01499, allocations: 7.922 kB / 328.4 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.01499, allocations: 0 / 328.4 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01499, allocations: 4 kB / 328.4 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.764e-05/0.01506, allocations: 85.83 kB / 328.5 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.01506, allocations: 0 / 328.5 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-06/0.01506, allocations: 4 kB / 328.5 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.62e-07/0.01507, allocations: 0 / 328.5 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.01507, allocations: 4 kB / 328.5 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.01508, allocations: 0 / 328.5 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01508, allocations: 0 / 328.5 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.01523, allocations: 216 kB / 328.7 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.01524, allocations: 19.83 kB / 328.7 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.01526, allocations: 4 kB / 328.7 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.879e-05/0.01527, allocations: 8.031 kB / 328.7 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.01529, allocations: 3.984 kB / 328.7 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.0153, allocations: 11.94 kB / 328.7 MB, free: 3.723 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.582e-05/0.01532, allocations: 27.69 kB / 328.8 MB, free: 3.695 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01532, allocations: 0 / 328.8 MB, free: 3.695 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004291/0.01575, allocations: 335.3 kB / 329.1 MB, free: 3.367 MB / 298.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.000628/0.01638, allocations: 394.4 kB / 329.5 MB, free: 2.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.01655, allocations: 203.6 kB / 329.7 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01656, allocations: 0 / 329.7 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.01663, allocations: 141.9 kB / 329.8 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.01676, allocations: 12 kB / 329.8 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.01726, allocations: 342.8 kB / 330.2 MB, free: 2.215 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.593e-05/0.01731, allocations: 75.27 kB / 330.2 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.474e-05/0.01732, allocations: 3.984 kB / 330.2 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.36e-05/0.01742, allocations: 75.38 kB / 330.3 MB, free: 2.043 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01742, allocations: 0 / 330.3 MB, free: 2.043 MB / 298.7 MB Notification: Performance of Templates: time 0.009212/0.02663, allocations: 7.976 MB / 338.3 MB, free: 10.11 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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: 3.403669679071754]