Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001095/0.001095, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00161/0.002705, allocations: 449.8 kB / 10.44 MB, free: 252 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.001066/0.001066, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001419/0.002485, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9858/0.9858, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08025/1.066, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.1177/0.1177, allocations: 29.45 MB / 273.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1335/0.2512, allocations: 9.539 MB / 283.1 MB, free: 12.82 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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="tc_d.[0-9,]+.|tc_q.[0-9,]+.|to_d.[0-9,]+.|to_q.[0-9,]+.|xtr_d.[0-9,]+.|xtr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="tc_d.[0-9,]+.|tc_q.[0-9,]+.|to_d.[0-9,]+.|to_q.[0-9,]+.|xtr_d.[0-9,]+.|xtr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 284.5 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.289e-05, allocations: 2.312 kB / 284.5 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.00366/0.003683, allocations: 2.405 MB / 286.9 MB, free: 9.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.005418, allocations: 1.073 MB / 287.9 MB, free: 9.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.972e-05/0.005488, allocations: 3.938 kB / 287.9 MB, free: 9.066 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.469e-05/0.005562, allocations: 10.33 kB / 288 MB, free: 9.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.384e-05/0.005656, allocations: 69.44 kB / 288 MB, free: 9.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.006296, allocations: 307.4 kB / 288.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.006429, allocations: 120.5 kB / 288.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.006468, allocations: 6.312 kB / 288.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.006604, allocations: 71.58 kB / 288.5 MB, free: 8.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.289e-05/0.006687, allocations: 74.61 kB / 288.6 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.006698, allocations: 1.844 kB / 288.6 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005828/0.007281, allocations: 0.5445 MB / 289.1 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.007329, allocations: 39.11 kB / 289.2 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.007356, allocations: 20.44 kB / 289.2 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.007822, allocations: 492.4 kB / 289.7 MB, free: 8.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.007831, allocations: 0 / 289.7 MB, free: 8.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.007833, allocations: 0 / 289.7 MB, free: 8.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.007841, allocations: 1.562 kB / 289.7 MB, free: 8.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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003525/0.008194, allocations: 409.8 kB / 290.1 MB, free: 7.742 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.008221, allocations: 9.219 kB / 290.1 MB, free: 7.742 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.008254, allocations: 6.625 kB / 290.1 MB, free: 7.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.008374, allocations: 140.2 kB / 290.2 MB, free: 7.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.008381, allocations: 1.781 kB / 290.2 MB, free: 7.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.008391, allocations: 1.719 kB / 290.2 MB, free: 7.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.008511, allocations: 114.3 kB / 290.3 MB, free: 7.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.008517, allocations: 5.25 kB / 290.3 MB, free: 7.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.008523, allocations: 0 / 290.3 MB, free: 7.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.008528, allocations: 1.125 kB / 290.3 MB, free: 7.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.317e-05/0.008571, allocations: 65.78 kB / 290.4 MB, free: 7.469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.192e-05/0.008633, allocations: 72.77 kB / 290.5 MB, free: 7.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/0.0087, allocations: 86.59 kB / 290.6 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.008744, allocations: 76.83 kB / 290.6 MB, free: 7.277 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-06/0.008748, allocations: 4.938 kB / 290.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.008767, allocations: 36.09 kB / 290.7 MB, free: 7.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 6.21e-07/0.008767, allocations: 0 / 290.7 MB, free: 7.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002107/0.008978, allocations: 282.7 kB / 291 MB, free: 7.082 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.008998, allocations: 56.72 kB / 291 MB, free: 7.016 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.155e-05/0.00906, allocations: 128.5 kB / 291.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.009069, allocations: 27.08 kB / 291.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.364e-05/0.009093, allocations: 92.56 kB / 291.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.00914, allocations: 66.59 kB / 291.3 MB, free: 6.715 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.009172, allocations: 25.94 kB / 291.3 MB, free: 6.691 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.001e-05/0.009242, allocations: 335 kB / 291.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.009287, allocations: 72.27 kB / 291.7 MB, free: 6.316 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.009326, allocations: 69.38 kB / 291.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.009435, allocations: 173.5 kB / 292 MB, free: 6.176 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.009437, allocations: 0 / 292 MB, free: 6.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001305/0.009567, allocations: 201.8 kB / 292.2 MB, free: 6.059 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.009611, allocations: 55.52 kB / 292.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.009615, allocations: 0 / 292.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.009626, allocations: 1.281 kB / 292.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.009628, allocations: 3.938 kB / 292.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.009632, allocations: 8 kB / 292.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.009671, allocations: 9.312 kB / 292.3 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.009687, allocations: 9.266 kB / 292.3 MB, free: 5.996 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 7.835e-05/0.009766, allocations: 169.1 kB / 292.4 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.009785, allocations: 18.83 kB / 292.4 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.548e-05/0.0098, allocations: 10.53 kB / 292.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.009801, allocations: 1.5 kB / 292.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.009803, allocations: 3.938 kB / 292.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.009805, allocations: 0 / 292.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.744e-05/0.009863, allocations: 86.23 kB / 292.5 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.009863, allocations: 4 kB / 292.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-06/0.009865, allocations: 5.469 kB / 292.6 MB, free: 5.715 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.009876, allocations: 15.55 kB / 292.6 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.009877, allocations: 0 / 292.6 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.009884, allocations: 3.844 kB / 292.6 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.009885, allocations: 1.125 kB / 292.6 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009886, allocations: 0 / 292.6 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.0101, allocations: 304.2 kB / 292.9 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.01011, allocations: 4.781 kB / 292.9 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.994e-05/0.01013, allocations: 3.625 kB / 292.9 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.01014, allocations: 9.453 kB / 292.9 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.01015, allocations: 15.06 kB / 292.9 MB, free: 5.508 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.747e-05/0.01017, allocations: 18.19 kB / 292.9 MB, free: 5.496 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01017, allocations: 0.9375 kB / 292.9 MB, free: 5.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000268/0.01044, allocations: 142.7 kB / 293.1 MB, free: 5.469 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.0003358/0.01077, allocations: 184.2 kB / 293.2 MB, free: 5.363 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.01099, allocations: 297.2 kB / 293.5 MB, free: 5.184 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.01099, allocations: 1.062 kB / 293.5 MB, free: 5.184 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.01114, allocations: 257.5 kB / 293.8 MB, free: 5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.0113, allocations: 166.3 kB / 293.9 MB, free: 4.812 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000624/0.01192, allocations: 369.8 kB / 294.3 MB, free: 4.414 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.507e-05/0.01196, allocations: 84.77 kB / 294.4 MB, free: 4.312 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.276e-05/0.01197, allocations: 7.938 kB / 294.4 MB, free: 4.305 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.01205, allocations: 75.36 kB / 294.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01205, allocations: 4.094 kB / 294.5 MB, free: 4.227 MB / 282.7 MB Notification: Performance of Templates: time 0.005914/0.01796, allocations: 4.24 MB / 298.7 MB, free: 56 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.794391267001629]