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.000905/0.000905, allocations: 80.8 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.001269/0.001269, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2394/0.2394, allocations: 29.42 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.232e-06/1.232e-06, allocations: 0 / 316.9 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.524e-05/3.647e-05, allocations: 3.016 kB / 316.9 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.00266/0.002697, allocations: 2.321 MB / 319.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.005052, allocations: 1.995 MB / 321.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.005108, allocations: 4 kB / 321.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.00523, allocations: 11.86 kB / 321.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.334e-05/0.005323, allocations: 39.75 kB / 321.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.007185, allocations: 0.9779 MB / 322.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.007306, allocations: 99.56 kB / 322.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.007343, allocations: 3.984 kB / 322.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.007469, allocations: 59.75 kB / 322.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.313e-05/0.007542, allocations: 47.88 kB / 322.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.007554, allocations: 4 kB / 322.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.009416, allocations: 1.828 MB / 324.2 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.009471, allocations: 35.91 kB / 324.3 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.009505, allocations: 19.88 kB / 324.3 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.01082, allocations: 1.488 MB / 325.8 MB, free: 7.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.01083, allocations: 0 / 325.8 MB, free: 7.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01083, allocations: 0 / 325.8 MB, free: 7.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.01083, allocations: 0 / 325.8 MB, free: 7.027 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.0004682/0.0113, allocations: 460.4 kB / 326.2 MB, free: 6.547 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.01133, allocations: 11.97 kB / 326.3 MB, free: 6.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.01137, allocations: 12.92 kB / 326.3 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.01149, allocations: 145.5 kB / 326.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.0115, allocations: 384 / 326.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.0115, allocations: 384 / 326.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.01161, allocations: 90.33 kB / 326.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.01161, allocations: 0 / 326.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.01162, allocations: 0 / 326.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.01162, allocations: 0 / 326.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.904e-05/0.01165, allocations: 49.62 kB / 326.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.545e-05/0.01172, allocations: 71.77 kB / 326.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.743e-05/0.01178, allocations: 64.27 kB / 326.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.0118, allocations: 50.59 kB / 326.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-06/0.01181, allocations: 7.984 kB / 326.7 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.01183, allocations: 30.56 kB / 326.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 8.32e-07/0.01183, allocations: 0 / 326.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001707/0.012, allocations: 199.9 kB / 327 MB, free: 5.711 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.01203, allocations: 85.11 kB / 327 MB, free: 5.609 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.01211, allocations: 153.1 kB / 327.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.01212, allocations: 29.64 kB / 327.2 MB, free: 5.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.01214, allocations: 92.34 kB / 327.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.01218, allocations: 39.59 kB / 327.3 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.01221, allocations: 21.7 kB / 327.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.01229, allocations: 334.8 kB / 327.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.554e-05/0.01232, allocations: 48.52 kB / 327.7 MB, free: 4.863 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.01235, allocations: 45.69 kB / 327.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.301e-05/0.01242, allocations: 116.2 kB / 327.9 MB, free: 4.684 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.01242, allocations: 0 / 327.9 MB, free: 4.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.369e-05/0.01252, allocations: 141.3 kB / 328 MB, free: 4.527 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.01255, allocations: 49.67 kB / 328.1 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.01256, allocations: 0 / 328.1 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.01257, allocations: 3.938 kB / 328.1 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-06/0.01257, allocations: 0 / 328.1 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.01258, allocations: 0 / 328.1 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.01262, allocations: 12 kB / 328.1 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.01263, allocations: 4 kB / 328.1 MB, free: 4.453 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 7.727e-05/0.01271, allocations: 158.3 kB / 328.3 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.01272, allocations: 15.98 kB / 328.3 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.786e-05/0.01274, allocations: 16.77 kB / 328.3 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01274, allocations: 3.938 kB / 328.3 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.01274, allocations: 0 / 328.3 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.01275, allocations: 0 / 328.3 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.816e-05/0.01281, allocations: 85.83 kB / 328.4 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.01281, allocations: 0 / 328.4 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.01281, allocations: 4 kB / 328.4 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01281, allocations: 3.984 kB / 328.4 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.01282, allocations: 4 kB / 328.4 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.01282, allocations: 0 / 328.4 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01282, allocations: 3.938 kB / 328.4 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.01297, allocations: 214.1 kB / 328.6 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.01298, allocations: 19.83 kB / 328.6 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.01299, allocations: 4 kB / 328.6 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.01301, allocations: 0 / 328.6 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.01302, allocations: 4 kB / 328.6 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.01303, allocations: 7.938 kB / 328.6 MB, free: 3.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.262e-05/0.01306, allocations: 39.64 kB / 328.7 MB, free: 3.812 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01306, allocations: 0 / 328.7 MB, free: 3.812 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005186/0.01357, allocations: 331.3 kB / 329 MB, free: 3.488 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.0006339/0.01421, allocations: 397.8 kB / 329.4 MB, free: 3.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.01437, allocations: 207.5 kB / 329.6 MB, free: 2.867 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01437, allocations: 0 / 329.6 MB, free: 2.867 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.75e-05/0.01444, allocations: 138 kB / 329.7 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.01456, allocations: 20.64 kB / 329.8 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/0.01507, allocations: 331.9 kB / 330.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.106e-05/0.01511, allocations: 75.27 kB / 330.1 MB, free: 2.242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.72e-05/0.01513, allocations: 8 kB / 330.2 MB, free: 2.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.248e-05/0.01522, allocations: 83.36 kB / 330.2 MB, free: 2.152 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01522, allocations: 0 / 330.2 MB, free: 2.152 MB / 298.7 MB Notification: Performance of Templates: time 0.009434/0.02465, allocations: 7.966 MB / 338.2 MB, free: 10.23 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 -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.3750832132063806]