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.001372/0.001372, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00129/0.00129, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2907/0.2907, allocations: 29.43 MB / 291.2 MB, free: 2.395 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.954e-06/1.954e-06, allocations: 0 / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.807e-05, allocations: 2.312 kB / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.004113/0.004141, allocations: 2.308 MB / 372.4 MB, free: 8.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003708/0.007849, allocations: 1.941 MB / 374.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.00795, allocations: 0 / 374.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.008114, allocations: 11.86 kB / 374.4 MB, free: 6.379 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.008246, allocations: 51.69 kB / 374.4 MB, free: 6.328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.01026, allocations: 0.9584 MB / 375.4 MB, free: 5.367 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.01039, allocations: 91.61 kB / 375.5 MB, free: 5.277 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.01043, allocations: 4 kB / 375.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.01057, allocations: 59.75 kB / 375.6 MB, free: 5.215 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.01065, allocations: 55.84 kB / 375.6 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.01066, allocations: 4 kB / 375.6 MB, free: 5.156 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.01254, allocations: 1.847 MB / 377.5 MB, free: 3.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.01258, allocations: 39.84 kB / 377.5 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.01261, allocations: 19.94 kB / 377.5 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.01371, allocations: 1.484 MB / 379 MB, free: 1.758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01371, allocations: 0 / 379 MB, free: 1.758 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01371, allocations: 0 / 379 MB, free: 1.758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.01372, allocations: 7.938 kB / 379 MB, free: 1.75 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004528/0.01417, allocations: 0.5786 MB / 379.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.01421, allocations: 8.031 kB / 379.6 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.01424, allocations: 20.84 kB / 379.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.01436, allocations: 128.5 kB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.01437, allocations: 4.375 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.01437, allocations: 384 / 379.8 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.625e-05/0.01447, allocations: 87.5 kB / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.01448, allocations: 0 / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.01448, allocations: 3.984 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.01449, allocations: 0 / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.897e-05/0.01452, allocations: 52.5 kB / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.876e-05/0.01461, allocations: 121.1 kB / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.948e-05/0.01465, allocations: 72.75 kB / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.01469, allocations: 53.41 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-06/0.01469, allocations: 0 / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.01471, allocations: 37.39 kB / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.01471, allocations: 0 / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001961/0.01491, allocations: 214.8 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.01494, allocations: 93.09 kB / 380.5 MB, free: 104 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.01504, allocations: 208.6 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.01505, allocations: 29.69 kB / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.01509, allocations: 147.1 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.01514, allocations: 51.58 kB / 380.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.01517, allocations: 31.34 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.01527, allocations: 0.4962 MB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.779e-05/0.0153, allocations: 41.7 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/0.01533, allocations: 45.69 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.723e-05/0.0154, allocations: 121.7 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.0154, allocations: 0 / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.991e-05/0.0155, allocations: 153 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.01553, allocations: 49.67 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01553, allocations: 4.062 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.01555, allocations: 3.938 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.01555, allocations: 0 / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01555, allocations: 4 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.01559, allocations: 3.938 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.0156, allocations: 8 kB / 381.8 MB, free: 14.62 MB / 362.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.307e-05/0.01568, allocations: 202.2 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.0157, allocations: 19.91 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.01572, allocations: 8.781 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.01572, allocations: 7.922 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01572, allocations: 4 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.01572, allocations: 0 / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.359e-05/0.01579, allocations: 125.1 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.01579, allocations: 0 / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-07/0.01579, allocations: 0 / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.01579, allocations: 0 / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.01579, allocations: 11.88 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.01579, allocations: 0 / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.0158, allocations: 4 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.01594, allocations: 239.7 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.01595, allocations: 11.91 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.01596, allocations: 4.031 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.01598, allocations: 7.984 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.016, allocations: 7.938 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.016, allocations: 4 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.14e-05/0.01605, allocations: 154 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01605, allocations: 0 / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004068/0.01645, allocations: 327.3 kB / 383 MB, free: 13.43 MB / 362.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.0005762/0.01703, allocations: 415.8 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.01718, allocations: 206.4 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01718, allocations: 0 / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.01725, allocations: 140.8 kB / 383.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.01739, allocations: 23.92 kB / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.01783, allocations: 335.4 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.4e-05/0.01786, allocations: 71.33 kB / 384.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.171e-05/0.01788, allocations: 4 kB / 384.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.688e-05/0.01796, allocations: 102.2 kB / 384.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01796, allocations: 0 / 384.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of Templates: time 0.008458/0.02642, allocations: 8.148 MB / 392.4 MB, free: 3.926 MB / 362.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.394342232029885]